Saturday, December 11, 2010

Internal Server Error - Apache Web Server

Hello Friends,

Recently I got this error on my web server,

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@******.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

I checked the logs and found..

[Sat Dec 11 21:33:29 2010] [alert] [client 127.0.1.1] /var/www/volant/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

This was raised by .htaccess because mod_rewrite was not enabled.

Solve this by enabling the module.. for ubuntu i wrote
a2enmod rewrite
in mods-available directory as sudo

directory exists in /etc/apache2/mods-available

Enjoy..
Ravi Kumar Gupta aka D'Maverick

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.