OK to start with the following is my setup:
SUSE 9.3
Apache 2.0.53
PHP 5.0.3
I am running multiple web sites on this box, as well as multiple Drupal site under the one root.
I have run PHP Info on the box and mod_rewrite is still there.
------------------------------------------------------------------------------------------
Now to the problem.
I had Clean URLs working and everything was fine. I decided to do the right thing and upgrade the box with YAST and everything is upgraded but.... Now Clean URLs (mod_rewrite) is not working.
Everytime I try to set it it comes up with "It appears your host is not configured correctly for Clean URLs. Please check for ModRewrite support with your administrator."
I would like to know how Drupal works out whether Mod_rewrite is supported or not.
Can anybody help me.
Thanks in advance.
Nick
Comments
If you upgraded apache
If you upgraded apache, did you check the .htaccess file in the drupal root to see if the rewritebase is still set? Perhaps your upgrade overwrote it.
Rewritebase is still correct
Thanks for that BlackSash, but it is still all ok. I checked the rewritebase it seems fine.
This one really has me stumped.
mod_rewrite and php5 broken
You are likely being hit with a known issue from a security update SuSE pushed out in November, it broke mod_rewrite when used with php4 or php5.
A recent security bulletin from SuSE indicates they expect to push a fix out early next week.
http://lists.suse.com/archive/suse-security-announce/2005-Dec/0003.html
Scott
It was a SUSE problem
Thanks helphand, I keep my server up to date (which is always a good idea :)), except when it breaks your server....
Nicholas Edwards
ERSYS Group