Return to Snippet

Revision: 39724
at January 20, 2011 04:56 by meekgeek


Initial Code
#By default all files under /var/www ignore the .htaccess file
#To solve this, change /etc/apache2/site-available/default
#sudo nano /etc/apache2/sites-available/default

#You see something like this
<Directory /var/www/>
	Option Indexes FollowSymLinks MultiViews
	AllowOverride None
	Order allow, deny
	allow from all
</Directory>

#Change to this:

<Directory /var/www/>
	Option Indexes FollowSymLinks MultiViews
	AllowOverride All
	Order allow, deny
	allow from all
</Directory>

Initial URL

                                

Initial Description

                                

Initial Title
Making sure .htaccess files work

Initial Tags

                                

Initial Language
Bash