Answer the question
In order to leave comments, you need to log in
How to fix 500 Internal Server Error?
Can't fix Internal Server Error. Created a .htaccess file and added RewriteEngine On to it. Saved, I see an Internal Server Error. I am using wamp. and the error in the error.log file looks like this:
[core:alert] [pid 11836:tid 796] [client 127.0.0.1:56444] C:/wamp/www/mysite/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
Answer the question
In order to leave comments, you need to log in
You need to enable mod_rewrite in the config.
Under Linux it looks like
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
in Apache config. Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question