At 10:14 AM 01/27/00 +1100, you wrote: >I'm using the classic setup of having a lightweight Apache >frontend with mod_proxy (and Ask Bjoern Hansen's mod_proxy_add_forward >extension for setting the X-Forwarded-For header). Proxied >requests are passed to the mod_perl Apache backend. For some >of the requests, I need to find the originating host, not the >localhost 127.0.0.1 IP address, so that I can select which >data set the request should be serviced by. (The service >is a search engine service, where all the GUI is written in Perl.) This is ugly, but I've done this: RewriteRule ^/(.*)$ http://proxy/$1?ORIG_ADDR=%{REMOTE_ADDR} [P] (I trust you aren't maintaining state with the IP address, though.) Bill Moseley mailto:[EMAIL PROTECTED]