Changed the AllowOverride to All and still nothing
Posted
by Asaf
on Stack Overflow
See other posts from Stack Overflow
or by Asaf
Published on 2010-06-08T16:48:23Z
Indexed on
2010/06/08
16:52 UTC
Read the original article
Hit count: 150
I tried to write a .htaccess file on my local pc's website,
I've realized I need to set AllowOverride All instead of None
searched, found the file /etc/apache2/conf.d/security
in the file I found
#<Directory />
#AllowOverride None
#Order Deny,Allow
#Deny from all
#</Directory>
changed it to
<Directory />
AllowOverride All
Order Deny,Allow
Deny from all
</Directory>
typed
service apache2 restart
and... .htaccess still didn't work :I
the file by the way, holds one line, deny from all.
© Stack Overflow or respective owner