httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Trawick <traw...@gmail.com>
Subject Re: [users@httpd] mod_extract_forwarded or mod_rpaf for Apache 2.2/2.4?
Date Thu, 23 Aug 2012 22:19:23 GMT
On Thu, Aug 23, 2012 at 5:57 PM, Marten Lehmann <lehmann@cnm.de> wrote:
> Hello,
>
> is there any module like mod_extract_forwarded or mod_rpaf available for
> Apache 2.2 or Apache 2.4?
>
> These modules change the value of REMOTE_ADDR to the original client IP
> address behind a proxy request, that is given by the X-Forwarded-for header
> - only if the request comes from trusted hosts of course. It makes rewriting
> scripts to check for both REMOTE_ADDR and X-Forwarded-For head obsolete and
> means you can continue to use .htaccess access permissions (Allow and Deny
> from).

httpd 2.4 has mod_remoteip for that purpose:

http://httpd.apache.org/docs/2.4/mod/mod_remoteip.html

>
> Kind regards
> Marten
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>



-- 
Born in Roswell... married an alien...
http://emptyhammock.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message