diff options
author | rillig <rillig> | 2006-06-06 16:45:31 +0000 |
---|---|---|
committer | rillig <rillig> | 2006-06-06 16:45:31 +0000 |
commit | fcaab067364ffa43c618db56bcfe1205281088b5 (patch) | |
tree | 0fe3c9ded88c9dc11fd1f530d2616f2394a62598 /www/ap-rpaf | |
parent | fca473ff889ebb2f47a84aea8086b4743141be9c (diff) | |
download | pkgsrc-fcaab067364ffa43c618db56bcfe1205281088b5.tar.gz |
Fixed pkglint warnings.
Diffstat (limited to 'www/ap-rpaf')
-rw-r--r-- | www/ap-rpaf/DESCR | 16 | ||||
-rw-r--r-- | www/ap-rpaf/Makefile | 5 |
2 files changed, 11 insertions, 10 deletions
diff --git a/www/ap-rpaf/DESCR b/www/ap-rpaf/DESCR index 8519f55b359..afb51bca7dc 100644 --- a/www/ap-rpaf/DESCR +++ b/www/ap-rpaf/DESCR @@ -1,9 +1,9 @@ -mod_rpaf changes the remote address of the client visible to other Apache -modules when two conditions are satisfied. First condition is that the -remote client is actually a proxy that is defined in httpd.conf. -Secondly if there is an incoming X-Forwarded-For header and the proxy is -in it's list of known proxies it takes the last IP from the incoming -X-Forwarded-For header and changes the remote address of the client in -the request structure. It also takes the incoming X-Host header and -updates the virtualhost settings accordingly. For Apache2 mod_proxy it +mod_rpaf changes the remote address of the client visible to other Apache +modules when two conditions are satisfied. First condition is that the +remote client is actually a proxy that is defined in httpd.conf. +Secondly if there is an incoming X-Forwarded-For header and the proxy is +in it's list of known proxies it takes the last IP from the incoming +X-Forwarded-For header and changes the remote address of the client in +the request structure. It also takes the incoming X-Host header and +updates the virtualhost settings accordingly. For Apache2 mod_proxy it takes the X-Forwared-Host header and updates the virtualhosts. diff --git a/www/ap-rpaf/Makefile b/www/ap-rpaf/Makefile index 27a021f7616..f4087bb579a 100644 --- a/www/ap-rpaf/Makefile +++ b/www/ap-rpaf/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2006/06/02 18:27:59 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2006/06/06 16:45:31 rillig Exp $ # DISTNAME= mod_rpaf-0.5 @@ -12,9 +12,10 @@ COMMENT= Remaps reverse-proxied connections to "real" requesting IPs CONFLICTS= ap-rpaf-[0-9]* -APACHE_MODULE= # defined +APACHE_MODULE= yes INSTALLATION_DIRS= share/doc +.include "../../mk/bsd.prefs.mk" .include "../../mk/apache.mk" do-build: |