Logo Pupungbp.com

Need a WordPress expert help?

How to Enable Mod Rewrite Apache2 on Debian

Last Updated: October 6, 2013 | Reading Time: < 1 minute

I assume you have already Apache2 installed on your server. Enabling mod_rewrite is quite easy, run the following command:
[shell]
# sudo a2enmod rewrite
[/shell]

Then, edit your virtual host configuration file in /etc/apache2/sites-available:
[shell]
<Directory /home/pupungbp/sites/yoursite.com>
Options Indexes FollowSymLinks MultiViews
AllowOverride None #change None to FileInfo
Order allow,deny
allow from all
</Directory>
[/shell]

Then, restart Apache:
[shell]
# service apache2 restart
[/shell]

Done.

Looking for an affordable WordPress solution?

We offer budget-friendly WordPress website development services to meet your needs. Prices start at $10.

Related Posts

Leave a Reply

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

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