Apache’s mod_rewrite not working

To resolve mod_rewrite being seemingly ineffectual:

Ensure your http config contains:

AccessFileName   .htaccess

For the vhost you’re using (ie inside the <Directory> section), ensure the following is set – NOT in the main setting for the file.

AllowOverride   All

If you get an internal server error, you may have enabled too many AllOverride’s or enabled the wrong one.

Then restart apache.


Like this Article? Share it!

About the Author

Author Gravatar

Andy has been in IT support in the academic industry for over 7 years now, with an in-depth knowledge of both Windows and Unix based systems.

Related Posts

Leave a Comment