By sjames on
I just upgraded from 5.2 to 5.21.
When I run the clean URL test, this succeeds.
I then 'Enable' clean urls and 'Save', but it doesn't save. the radio button checked goes back to disabled.
what am I not doing to enable the 'Clean URLS' in Drupal?
any help appreciated.
Susan
Comments
You can check to see if
You can check to see if mod_rewrite is loaded if you are running Apache.
Try 'apache2ctl -M | grep rewrite' if you are running Linux.
Also, if you have a page with
phpinfo();, that would indicate whether or not mod_rewrite is loaded.What OS, web server, and db are you running?
Hope that isn't too simple to be of help.
mod_rewrite
thanks for the help.
I found out that mod_rewrite is loaded with Apache. see below.
is that the reason that Drupal doesn't enable the clean urls; because Apache already is doing that?
it would be good if Drupal could generate a message that says: 'Clean Urls enabled by Apache, or some such message..'
http://www.shreemaa.org/phpinfo.php
/usr/local# /apache/bin/httpd -l | grep -i rewrite
Compiled-in modules:
mod_rewrite.c
OS is Centos-3.7
Apache 1.3.41
Mysql 4.1
The mod_rewrite is a
The mod_rewrite is a prerequisite, so that is good.
Clean URL's wouldn't work without it.
You probably also need something like this in your httpd.conf file to make sure the module is being put to use:
And then you'd need to restart the service to activate any change.
Here is a site with some of the standard info:
http://articles.sitepoint.com/article/guide-url-rewriting
hth.
Maybe a better
Maybe a better reference:
http://drupal.org/node/15365
Going through the steps in "Server configuration for Clean URLs on a dedicated server, with httpd.conf" fixed my problem after migrating from one platform to another.