Answer the question
In order to leave comments, you need to log in
How to set IP address range in .htaccess file?
How to set the range of allowed IP addresses in the .htaccess file when accessing a specific folder?
The Deny from all allow from XXX option will not work - this is how the redirect goes to 403, that is, the user understands that the folder exists, there is simply no access. I need it to be redirected to 404 - so that the user thinks that such a folder does not exist ..
Folder /almin IP address range 223..127.80.5 - 223..127.80.227
Obviously, here you need to play around with the RewriteCond directive, but something doesn't work for me..
Thank you
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