Answer the question
In order to leave comments, you need to log in
How to block access to a directory through htaccess, but not touch one file?
How to block access to a directory through htaccess, but not touch one file?
For example, to block access to all contents of the "abc" folder, but allow access to the "qqq" file, which is located in this folder?
Answer the question
In order to leave comments, you need to log in
Order Deny,Allow
Deny from all
Allow from ip
<Files qqq>
Order Deny,Allow
Allow from all
</Files>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question