Mar 26, 2011, 9:53:53 AM (12 years ago)
New mod_original_dst - makes Apache use original destination IP

In a setup where requests have passed through a transparent proxy,
or an iptables REDIRECT rule, the destination address of the traffic
changes.  The netfilter code provides an option (SO_ORIGINAL_DST)
to find out the original destination address.  In an Apache vhost
that is IP-based instead of name-based, you may need the original
address in order to match the vhost.  This module causes Apache
to always see the original, instead of the redirected, destination.

Apache module written by Anders Kaseorg
Method for obtaining the original address pointed out by Quentin Smith
Trivial packaging updates for Scripts by Mitch Berger
1 added

Note: See TracChangeset for help on using the changeset viewer.