mod_proxy_add_forward.c is an Apache module that adds a 'X-Forwarded-For' header to outgoing proxy requests like Squid does. You can then get the client IP back on the proxied host by setting r- >connection->remote_ip from this header. It's very useful for the common lightweight frontend/heavy backend mod_perl setup.
|Tags||Internet Web HTTP Servers|
Release Notes: The module now also forwards the original Host: header and the name of the virtualserver from the front-end proxy.
Release Notes: This release appends an IP to an existing "X-Forwarded-For" line instead of clobbering an existing one.