Last active
January 11, 2016 10:44
-
-
Save xeiter/bbbfab03e5769ab683e1 to your computer and use it in GitHub Desktop.
Enable mod_rewrite in Ubuntu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) Run: | |
sudo a2enmod rewrite | |
2) Restart the webserver to apply the changes: | |
sudo service apache2 restart | |
3) Add the following to the virtual host configuration file /etc/apache2/sites-available | |
<Directory "<path>"> | |
AllowOverride All | |
</Directory> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment