NAME
Lemonldap::NG::Handler::Proxy - Perl extension to add a reverse-proxy to a Lemonldap 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/,https://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/,https://lemon.server/
</Location>
DESCRIPTION
Lemonldap is a simple Web-SSO based on Apache::Session modules. It simplifies the build of a protected area with a few changes in the application (they just have to read some headers for accounting).
It manages both authentication and authorization and provides headers for accounting. So you can have a full AAA protection for your web space. There are two ways to build a cross domain authentication:
Cross domain authentication itself (Lemonldap::Portal::Cda) (not yet implemented in Lemonldap::NG)
"Liberty Alliance" (see Lemonldap::NG::ServiceProvider and Lemonldap::NG::IdentityProvider)
This library adds a reverse-proxy functionnality 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.
EXPORT
None by default.
SEE ALSO
Lemonldap::NG::Handler(3), LWP::UserAgent
AUTHOR
Xavier Guimard, <x.guimard@free.fr>
COPYRIGHT AND LICENSE
Copyright (C) 2004, 2005 by Eric German & Xavier Guimard
Lemonldap was originaly written by Eric german who decided to publish him in 2003 under the terms of the GNU General Public License version 2.
- This library is free software; you can redistribute it and/or modify it under same terms as Perl itself, either Perl version 5.8.4 or, at your option, any later version of Perl 5 you may have available.
- The primary copyright holder is Eric German.
- Portions are copyrighted under the GNU General Public License, Version 2
- Portions are copyrighted by Doug MacEachern and Lincoln Stein.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 158:
You forgot a '=back' before '=head2'