Answer the question
In order to leave comments, you need to log in
How to deny access to a directory by ip?
I want to prohibit access to the admin directory for everyone except a certain ip, I found one example, but after writing it to htaccess, the entire site was no longer available, how to properly configure access by ip?
< directory /admin/ >
admin deny,allow
deny from
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question