Construction deny, allow stopped working after you have installed nginx in front of apache, how to fix the situation?
Use the following structure instead of the previous one:
SetEnvIf Remote_Addr "4.2.2.10" realremoteaddr
SetEnvIf Remote_Addr "182.168.1.100" realremoteaddr
order deny, allow
allow from env = realremoteaddr
deny from all
IP addresses are specified for example, you need to change them on your own.
Need help?
If the guide is not enough, the GoodNet team will help with hosting, domain, VPS or control panel setup.
© 2007 - 2026 GOODNET.UA All rights reserved.
