Menu Close

Apache2 returns Internal Server Error serving HTTPS pages

Sometime configuring Apache2 for SSL it could return Internal Server Error.

If we look at error.log we have:

.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

This message tell us that we don’t have the module Rewrite or the module is not enabled.

For solve this issue, we can simple do:

sudo a2enmod rewrite
sudo /etc/init.d/apache2 restart
Posted in News, Web Development

Leave a Reply

Your email address will not be published. Required fields are marked *