ðòïåëôù 


  áòèé÷ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 

  óôáôøé 


  ðåòóïîáìøîïå 


  ðòïçòáííù 



ðéûéôå
ðéóøíá














     áòèé÷ :: Apache-Talk
Apache-Talk mailing list archive (apache-talk@lists.lexa.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[apache-talk] Apache::ProxyAddr 0.1



çÏÔÏ× ftp://www.kuzbass.ru/pub/mod_perl/Apache-ProxyAddr-0.1.tar.gz (2Kb)
ëÔÏ ÈÏÞÅÔ, ÔÅÓÔÉÒÕÊÔÅ. õ ÍÅÎÑ ÒÁÂÏÔÁÅÔ.

NAME
       Apache::ProxyAddr - makes use of 'X-Forwarded-For' as
       request IP

SYNOPSIS
        # Configuration in httpd.conf

        PerlModule                     Apache::ProxyAddr;
        PerlPostReadRequestHandler     Apache::ProxyAddr;
        PerlSetVar     ProxyAddrKnown  "1.2.3.4 5.6.7.8 9.10.11.12"


DESCRIPTION
       This module allows use of Apache 'allow' and 'deny'
       directives even when user is behind proxy supplying
       'X-Forwarded-For' HTTP header.  In that case, real IP
       address (instead of proxy's) will be used for access
       control.

LIST OF TOKENS
       ž
       ProxyAddrKnown "1.2.3.4 5.6.7.8 9.10.11.12"

       IP addresses of proxies. 'X-Forwarded-For' will be used
       for these hosts only.

CONFIGURATION
       The module should be loaded upon startup of the Apache
       daemon.  Add the following line to your httpd.conf:

        PerlPostReadRequestHandler Apache::ProxyAddr;

       Setting ProxyAddrKnown from .htaccess does not work for
       some reason, so set it in httpd.conf

SEE ALSO
       the Apache manpage, the mod_perl manpage

AUTHORS
       ž mod_perl by Doug MacEachern <dougm@osf.org>

       ž Apache::ProxyAddr by Eugene Grosbein <eugen@iname.com>

COPYRIGHT
       The Apache::ProxyAddr module is free software; you can
       redistribute it and/or modify it under the same terms as
       Perl itself.


Eugene
=============================================================================
=               Apache-Talk@lists.lexa.ru mailing list                      =
Mail "unsubscribe apache-talk" to majordomo@lists.lexa.ru if you want to quit.
=       Archive avaliable at http://www.lexa.ru/apache-talk                 =



 




Copyright © Lexa Software, 1996-2009.