LemonLDAP::NG fournit un proxy qui peut remplacer l'utilisation de mod_proxy d'Apache. This proxy use LWP Perl module to relay HTTP request. It can inspect HTTP headers to replace on the fly the Location and Set-Cookie headers.
Principales différences avec mod_proxy :
La configuration est effectuée dans Apache, dans les hôtes virtuels.
Par exemple, pour relayer https://www.public.com en http://www.private.com:
<VirtualHost> ServerName www.public.com PerlModule Lemonldap::NG::Handler::Proxy SetHandler perl-script PerlHandler Lemonldap::NG::Handler::Proxy PerlSetVar LmProxyPass http://www.private.com/ PerlSetVar LmLocationToReplace http://www.private.com/,https://www.public.com PerlSetVar LmCookieDomainToReplace private.com,public.com </VirtualHost>
Paramètres:
Location
Set-Cookie