I have an apache proxy server that forwards requests to backend servers. The backend servers use mod_access to allow or deny access to specific directories. Before implementing a proxy server with backend web servers, the one web server used a syntax like:
order deny, allow deny from all allow from 10.10.4 allow from domain.com
but now, the ip and domain are always the proxy server. I know the X-Forwarded_For ip is set, but I don't know how to add that into the mod_access configuration. And I don't see the forwarded host at all. Is there any way to do this?