I tried to write the .htaccess file on my local PC website,
I realized that I need to install AllowOverride All instead of None search, found the file / etc / apache 2 / conf.d / security in the found file
#<Directory />
#AllowOverride None
#Order Deny,Allow
#Deny from all
#</Directory>
changed it to
<Directory />
AllowOverride All
Order Deny,Allow
Deny from all
</Directory>
recruited
service apache2 restart
and .... htaccess still does not work: I
the file, by the way, contains one line, refuse all.
source
share