How to Enable Mod Rewrite Apache2 on Debian

I assume you have already Apache2 installed on your server. Enabling mod_rewrite is quite easy, run the following command:

Then, edit your virtual host configuration file in /etc/apache2/sites-available:

Then, restart Apache:


How To, Linux, ,

Any idea? Fill the comment below

This site uses Akismet to reduce spam. Learn how your comment data is processed.