Enable mod rewrite module on Apache 2

Written by
Date: 2012-12-23 15:35:32 00:00

I have done this on Ubuntu server but it should be same for other distributions.

To enable mod headers on Apache2 (httpd) you need to run this command:

sudo a2enmod rewrite

Then restart Apache

sudo service apache restart