GoDaddy mod_rewrite Hell

Whilst trying to install a piece of software on a GoDaddy hosted account I noticed that mod_rewrite variables were simply not being passed to the correct pages. When digging a bit deeper I found that it was effectively ignoring extensions in URLs and just displaying the file with the extension. i.e. instead of having to enter:

you could instead type

And it would return the same file, which is good if for some unknown reason your file doesn’t have the correct extension, but its not exactly.. good..

After trawling Google for a while I found a post by Eric Faerber that solved the problem. The strange redirects were due to Apache MultiViews being enabled, disabling this by entering

Options -MultiViews

into the .htaccess file. Solved the problem, the simplest solutions are always the best!

One thought on “GoDaddy mod_rewrite Hell”

Leave a Reply

Your email address will not be published. Required fields are marked *