I have ran into a bit of a problem under Centos 4.4 with php5 and drupal
5.1, I cannot get clean urls to work. Is this something known with Centos? If yes
sure would like to know the solution. I had all working under FC5 but decided that FC was not what was needed for a server and changed to Centos. Any hints, tips or suggestions
gratefully accepted.

Comments

srlinuxx’s picture

Are you sure mod_rewrite is getting loaded with apache?

--You talk the talk, but do you waddle the waddle?

grsingleton’s picture

According to phpinfo() and the systeminfo module, yes mod_rewrite is loaded. Good question though and is there another way to check?

grsingleton’s picture

Found the problem. Shall we say fingers? In any case the solution was fixing httpd.conf correctly for my setup. I use NameVirtualHost and forgot to set AllowOverride All in the virtual spaces. The required setting in each was

AllowOverride All

Once in place all worked.

TommyC’s picture

This also works on RHEL 6 / Drupal 7.
Thanks for the tip.