Apache2::xForwardedFor

Apache2::xForwardedFor is a Perl module to re-set remote_ip to incoming client's ip when running mod_perl behind a reverse proxy
Download

Apache2::xForwardedFor Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Jonathan Vanasco
  • Publisher web site:
  • http://search.cpan.org/~jvanasco/Authen-PluggableCaptcha-0.05/lib/Authen/PluggableCaptcha/Tutorial.pm

Apache2::xForwardedFor Tags


Apache2::xForwardedFor Description

Apache2::xForwardedFor is a Perl module to re-set remote_ip to incoming client's ip when running mod_perl behind a reverse proxy Apache2::xForwardedFor is a Perl module to re-set remote_ip to incoming client's ip when running mod_perl behind a reverse proxy server. In other words, copy the first IP from X-Forwarded-For header, which was set by your reverse proxy server, to the remote_ip connection property.SYNOPSIS in httpd.conf PerlModule Apache2::xForwardedFor PerlSetVar xForwardedForRequire 1 PerlSetVar xForwardedForAccept 192.168.1.1 PerlAddVar xForwardedForAccept 192.168.1.2 PerlPostReadRequestHandler Apache2::xForwardedFor also note: PerlSetVar xForwardedForRequireHeaderName X-Internal-Password PerlSetVar xForwardedForRequireHeaderValue shibby or: PerlSetVar xForwardedForRequireHeaderName X-Forwarded-Server PerlSetVar xForwardedForRequireHeaderValue lanServer1 PerlAddVar xForwardedForRequireHeaderValue lanServer2USAGEAt this time you simply need to load the module and add it to the PerlPostReadRequestHandler phase of your mod_perl-enabled httpd, and set a few variables.Apache2::xForwardedFor is really flexible and does some very odd ( but neat! ) thingsSet some variables in httpd.conf, and that's it Requirements: · Perl


Apache2::xForwardedFor Related Software