Jul 13
Go to /etc/apache2/sites-available and edited the file default
# vi /etc/apache2/sites-available/default
NameVirtualHost *
ServerAdmin admin@site.com
DocumentRoot /var/www/
Options FollowSymLinks
AllowOverride None
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
# Commented out for Ubuntu
#RedirectMatch ^/$ /apache2-default/
You need to changes AllowOverride from none to all and restart the apache
# /etc/init.d/apache2 restart
and test your .htaccess again
Order allow,deny
Deny from all
July 14th, 2009 at 12:24 pm
test
July 15th, 2009 at 11:58 am
test keduax