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.
Construction deny, allow stopped working after you have installed nginx in front of apache, how to fix the situation
- 12 Users Found This Useful