i have a .htaccess file. When I include this line it creates an internal server error. I know that the file works as I have redirects for 404 errors etc and they work.
# Causing error:
does anyone know why this is happening?
Ensure that the httpd.conf file allows the mod_rewrite module to be run, and that the mod_rewrite module is installed.
i looked in that file and found this line:
As it is commented out does this mean that the
#LoadModule rewrite_module modules/mod_rewrite.so
'mod_rewrite is disabled? if so how do enable it?
do I just uncomment it?
i just looked to see if the file exists and it does (local server), if that helps!
Yes. Uncomment that line and restart your webserver; it should work after that.
If that doesn't work (it didn't for me...) Search for something like '<Directory "C:/Program Files/Apache Group/Apache2/htdocs">' and then scroll down to see ' AllowOverride None', and change that to ' AllowOverride All'.
Users Browsing this Thread
There are currently 1 users browsing this thread.
(0 members and 1 guests)