Last change
on this file was
1796,
checked in by mitchb, 14 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
|
File size:
454 bytes
|
Rev | Line | |
---|
[389] | 1 | APXS = apxs |
---|
[56] | 2 | |
---|
[1796] | 3 | MODS = mod_auth_sslcert mod_authz_afsgroup mod_auth_optional mod_vhost_ldap mod_original_dst |
---|
[56] | 4 | |
---|
[389] | 5 | all-local: $(patsubst %,.libs/%.so,$(MODS)) |
---|
[56] | 6 | |
---|
[480] | 7 | APXSFLAGS_mod_vhost_ldap = -Wc,-DMOD_VHOST_LDAP_VERSION=\\\"mod_vhost_ldap/1.2.0scripts\\\" -lldap_r |
---|
| 8 | |
---|
[389] | 9 | .libs/%.so: %.c |
---|
[480] | 10 | $(APXS) $(APXSFLAGS_$*) -c $< |
---|
[389] | 11 | |
---|
[56] | 12 | clean: |
---|
[874] | 13 | rm -f $(MODS:=.o) $(MODS:=.la) $(MODS:=.lo) $(MODS:=.slo) |
---|
| 14 | rm -rf .libs |
---|
| 15 | |
---|
| 16 | distclean: clean |
---|
| 17 | rm -f config.log config.cache config.status Makefile |
---|
Note: See
TracBrowser
for help on using the repository browser.