beer9
asked on
How Order allow,deny works in apache?
Below example prevent anyone from viewing the .htaccess and .htpasswd files. How does it works here. Shouldn't it have only one line like "Deny from all". Is there a situation when it will allow to see these files?
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.