Error 500 when using .htaccess

1

I've rewritten a rule in .htaccess to remove the .php extension from my dashboard.php page but WAMP returns me:

  

Error 500

    
asked by anonymous 18.12.2015 / 11:57

1 answer

3

It is probably a mod_rewrite problem disabled, follow the steps below.

Open the httpd.conf file, look for the line:

#LoadModule rewrite_module modules/mod_rewrite.so

and uncomment by removing the "#" symbol from the beginning of the line to look like this:

LoadModule rewrite_module modules/mod_rewrite.so

Also look for the line

AllowOverride None

and change to

AllowOverride All

  

After this restart wampserver!

    
18.12.2015 / 12:04