I had installed drupal in a subdirectory to build the test site. No hitches, I edited the .htaccess file (uncommented the rewrite line like it says) and had no problems enabling the clean url feature. It was a thing of beauty.

I have then moved the install up to the root directory. Everything is working fine EXCEPT the clean url feature. I have tried re-commenting that line in .htaccess, I have tried all sorts of variations of file paths and leaving the / blank, and still nothing works for me. I just get that message in red, "It appears your web host is not configured for clean urls. Contact you admin about Modrewite access."

Its like the exact opposite problem than most people have with clean url setups. Since it worked in a sub dir, it should work on the root, right?

I have never worked with a .htaccess before so maybe there are some things I don't understand, such as file permissions for the file on the root directory, or if my hosting company has a conflicting configuration, I just don't know. I have a trouble ticket open with them for like three days already, and had some uneventful calls with the basic tech support people, and apparently their secret enclave of engineers who can answer my questions can only be reached by smoke signal.

Has anyone got any advice for me?

Comments

Little_John’s picture

Yes, my advice is to try your setup at home so you have complete control for testing purposes.

seaneffel’s picture

We don't have the luxury of running a test setup elsewhere. And in the end I will still have to negotiate this problem with the webhost. Thanks for the note, though.

seaneffel’s picture

The solution for my problem was with the Multiviews module. It was specific to my shared hosting environment.

Tried adding the following line to my .htaccess file:

Options -Multiviews

Or like this:

# Set some options.
Options -Indexes +FollowSymLinks -Multiviews

And out comes the money.