Lemonldap::NG::Handler::Proxy(3pm)

Lemonldap::NG::Handler::Proxy3pm

Perl extension to add a reverse-proxy to a lemonldap::ng handler.

Usage

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>

Overview

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.

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>

Releases

4 releases since Debian 5.0 (Lenny); the text changed 3 times.

  1. 5.0
  2. 6.0
  3. 7
  4. 8

Author

Clement Oudot, <[email protected]>
Xavier Guimard, <[email protected]>

From liblemonldap-ng-handler-perl 1.3.3-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.