I can't turn on clean url's through settings (drupal 4.6.4) :

"It appears your host is not configured correctly for Clean URLs. Please check for ModRewrite support with your administrator."

however

http://www.integraletherapie.com/version.php

lists that mod_rewrite is loaded:

Loaded Modules mod_status, mod_php4, mod_setenvif, mod_expires, mod_auth, mod_access, mod_rewrite, mod_alias, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_negotiation, mod_mime, mod_mime_magic, mod_log_config, mod_macro, mod_so, http_core

The hosting company (ashosting.nl) stated this might have to do with the fact that it is runnig on a cluster

where do I start looking for a fix?

Comments

CoR-1’s picture

I had the same problem. I fixed it by uncommenting RewriteBase in .htaccess and setting it to proper drupal path, which in my case was domain root "/".

Hendrix-1’s picture

I've had the very same problem for some months (Drupal 4.6.x, Apache 1.3, MacOS Server 10.4), I've checked and changed the configuration in .htaccess, in httpd.conf and in the .conf for the site... No way. mod_rewrite is there but drupal doesn't see it. (Not blaming Drupal, maybe it's Apache that doesn't make itself understood ;-))

Any other suggestions?

andre75’s picture

Mod rewrite in Drupal works slightly different. See my post:
http://drupal.org/node/39862

I have over 50 rewrites all working perfectly.

Andre

-------------------------------------------------
http://www.opentravelinfo.com
http://www.aguntherphotography.com

helphand’s picture

You may be experiencing a php bug that is biting me on this very same issue http://bugs.php.net/bug.php?id=35096

Scott

liorkesos’s picture

Did you somehow solve that bug n bite?
I upgraded my php modules to the latest from errata but that didn't solve the problem.
I uncommented acnd changed the RewriteBase to / as well.
Dazed and Confused
Lior.

adlitinc’s picture

i changed the .htaccess and uncommented the rewrite base and it seems to work

thanks for the help

bugma’s picture

I have two separate installations of Drupal in the same public_html directory. Clean urls works fine in the one installation, and there was no need to modify .htaccess. Clean urls does not work in the other installation, giving me the "modrewrite" error when i try to enable it - even though both installations are exactly the same setup. too weird.

Copying .htaccess from the one to the other did not help.

Fix: to get clean urls to work in the second installation, i had to edit .htaccess and change the RewriteBase path, as suggested in these forums. And the path was not the standard "/drupal" - i had to add this: "myinstall/drupal". It seems to work so far...

jeditdog’s picture

It seems that a lot of people have run into this probelm and overcome it. Would someone post their changes to the .htaccess file for all to see? I think this could give me some better idea, right now I'm trying to make the suggested changes, but to no avail. So I'd like to see if I'm doing something wrong.

Thanks

Jaro Larnos’s picture

I had a very similar kind of problem and none of the ideas to fix it I found on Drupal.org were of help. Probably because my exotic setup that is. So I decided to sleep on it. The next day I was browsing through my Lighttpd logs and found something like this:

"[27/Apr/2006:22:15:41 +0300] "GET /system/test-clean-url/DDybq5teSGkaEAN42gjp.png HTTP/1.1" 404"

So I thought to myself "Bingo! That's it!". I had finally solved the mystery of the clean-url test failing. It was fetching the .png file from a different location than what I had seen mentioned on Drupal.org. system/test has become system/test-clean-url. I therefore made the next change in /etc/lighttpd/lighttpd.conf:

$HTTP["host"] =~ "^(.*)$" {
        url.rewrite-final = (
          "^/system/test/(.*)$" => "/index.php?q=system/test/$1",
          "^/system/test-clean-url/(.*)$" => "/index.php?q=system/test-clean-url/$1",  ## I added this line ##
          "^/([^.?]*)\?(.*)$" => "/index.php?q=$1&$2",
          "^/([^.?]*)$" => "/index.php?q=$1",

And now the clean-url check works. :) I was not certain if the system/test -subdirectory is still used or not, but I thought I might as well leave it as it was, no harm done, atleast yet.

- Voice of Ambience -