Lemonldap::NG::Handler::Proxy.3pm

Langue: en

Autres versions - même langue

Version: 2010-05-10 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

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/,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

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.

EXPORT

None by default.

SEE ALSO

Lemonldap::NG::Handler(3), LWP::UserAgent, http://wiki.lemonldap.objectweb.org/xwiki/bin/view/NG/Presentation

AUTHOR

Xavier Guimard, <x.guimard@free.fr>

BUG REPORT

Use OW2 system to report bug or ask for features: <http://forge.objectweb.org/tracker/?group_id=274>

DOWNLOAD

Lemonldap::NG is available at <http://forge.objectweb.org/project/showfiles.php?group_id=274> Copyright (C) 2005-2007 by Xavier Guimard <x.guimard@free.fr>

This library is free software; you can redistribute it and/or modify it under the 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.