Changeset 1796 for trunk/server/common


Ignore:
Timestamp:
Mar 26, 2011, 9:53:53 AM (14 years ago)
Author:
mitchb
Message:
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
Location:
trunk/server/common/oursrc/httpdmods
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/common/oursrc/httpdmods/Makefile.in

    r874 r1796  
    11APXS = apxs
    22
    3 MODS = mod_auth_sslcert mod_authz_afsgroup mod_auth_optional mod_vhost_ldap
     3MODS = mod_auth_sslcert mod_authz_afsgroup mod_auth_optional mod_vhost_ldap mod_original_dst
    44
    55all-local: $(patsubst %,.libs/%.so,$(MODS))
Note: See TracChangeset for help on using the changeset viewer.