C
C
Chesterfield252021-12-24 00:05:33
htaccess
Chesterfield25, 2021-12-24 00:05:33

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 question

Ask a Question

731 491 924 answers to any question