V
V
Vasily Petrov2017-05-28 20:05:17
htaccess
Vasily Petrov, 2017-05-28 20:05:17

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

1 answer(s)
V
Vasily Petrov, 2017-05-28
@mbpig

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 question

Ask a Question

731 491 924 answers to any question