My setup:

mod_perl/1.999.21
httpd-2.0.53
mod_rpaf-0.5

I have a front-end apache that listens on the server IP, and proxies requests to a mod_perl server listening on several ports of 127.0.0.1.

I would like to be able to see the status pages without having to be logged into the server. Is there a way for me to check the remote IP on the perl server? I tried something like this (with my IP in that xxx expression):

SetEnvIf Remote_Host ^xx\.xxx\.xx\.xxx$ admin_ip

<Location /perl-server-status>
    SetHandler server-status
    Order deny,allow
    Deny from all
    Allow from env=admin_ip
</Location>

I still get

[client 127.0.0.1] client denied by server configuration


I can access it OK if I get rid of all of the mod_access stuff, so I know it works generally.






Reply via email to