table of contents
other versions
- jessie 1.3.3-1
Lemonldap::NG::Handler::Proxy(3pm) | User Contributed Perl Documentation | Lemonldap::NG::Handler::Proxy(3pm) |
NAME¶
Lemonldap::NG::Handler::Proxy - Perl extension to add a reverse-proxy to a Lemonldap::NG handler.SYNOPSIS¶
apache/conf/httpd.conf:# Global reverse proxy
PerlModule Lemonldap::NG::Handler::Proxy
SetHandler perl-script
PerlHandler Lemonldap::NG::Handler::Proxy
PerlSetVar LmProxyPass http://real-server.com/
PerlSetVar LmLocationToReplace http://real-server.com/,https://lemon.server/
PerlSetVar LmCookieDomainToReplace real-server.com,lemon.server
# Or just on a Location PerlModule Lemonldap::NG::Handler::Proxy <Location /reverse-area> SetHandler perl-script PerlHandler Lemonldap::NG::Handler::Proxy PerlSetVar LmProxyPass https://real-server.com/ PerlSetVar LmLocationToReplace http://real-server.com/,https://lemon.server/ PerlSetVar LmCookieDomainToReplace real-server.com,lemon.server </Location>
DESCRIPTION¶
This library adds a reverse-proxy functionality to Apache. It is useful to manage redirections if the remote host use it without the good domain.PARAMETERS¶
- •
- LmProxyPass (required): Real server to push request to
- •
- LmLocationToReplace (optional): substitution to do to avoid bad redirections. See synopsys for usage.
- •
- LmCookieDomainToReplace (optional): substitution to do to set cookies from proxied application. See synopsys for usage.
EXPORT¶
None by default.SEE ALSO¶
Lemonldap::NG::Handler(3), LWP::UserAgent, <http://lemonldap-ng.org/>AUTHOR¶
- Clement Oudot, <clem.oudot@gmail.com>
- Xavier Guimard, <x.guimard@free.fr>
BUG REPORT¶
Use OW2 system to report bug or ask for features: <http://jira.ow2.org>DOWNLOAD¶
Lemonldap::NG is available at <http://forge.objectweb.org/project/showfiles.php?group_id=274>COPYRIGHT AND LICENSE¶
- Copyright (C) 2007, 2008, 2009, 2010 by Xavier Guimard, <x.guimard@free.fr>
- Copyright (C) 2006, 2010, 2011, 2012 by Clement Oudot, <clem.oudot@gmail.com>
2014-01-17 | perl v5.20.1 |