Created
April 8, 2012 05:41
-
-
Save 40/2335029 to your computer and use it in GitHub Desktop.
Enable mod_rewrite in apache 2+ ubuntu distro
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
#COMMANDS | |
cd /etc/apache2/mods-enabled | |
touch rewrite.load | |
vi rewrite.load | |
#INSERT CODE | |
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so | |
#EDIT IN | |
/etc/apache2/sites-available/default | |
#FIND | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride None | |
Order allow,deny | |
allow from all | |
#CHANGE TO | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride all | |
Order allow,deny | |
allow from all | |
#RESTART APACHE | |
service apache2 restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment