Lemonldap::Handlers::Generic4a2 - Handler Apache2 for Lemonldap sso system
In httpd.conf
<VirtualHost *:80> PerlSetVar LemonldapEnabledproxy 1 ServerName serverpub.foo.bar:80 DocumentRoot /usr/local/apache2/htdocs PerlInitHandler Lemonldap::Handlers::Generic4a2 #ProxyPass / http://serverpriv.foo.bar/ #ProxyPassReverse / http://serverpriv.foo.bar/ PerlSetVar LemonldapConfig /usr/local/apache2/conf/application_new.xml PerlSetVar LemonldapConfigIpcKey CONF PerlSetVar LemonldapDEBUG 1 PerlSetVar LemonldapDomain foo.bar PerlSetVar LemonldapHandlerID handler2 PerlSetVar LemonldapBasePub http://serverpub.foo.bar PerlSetVar LemonldapBasePriv http://serverpriv.foo.bar PerlSetVar LemonldapCodeAppli APPLI PerlSetVar LemonldapAttrLdap profilapplicatif </virtualhost>
The filename of the mean XML Config :It's REQUIRED
The identifier of config segment IPC :It's REQUIRED
If present , it fixes the value of domain for the application protected by this handler (see below)
If present the configuration of handler is read from XML config backend. You can overlay XML config backend with httpd.conf
0 : don't use built-in proxy (configuration must use with mod_proxy or mod_rewrite ) 1 : use built-in proxy default : 0
0 : mode debug disabled 1 : mode debug enabled default : 0
IPNB is the number of session which you want to keep in cache evel 2 (IPC) min value : 0 (don't use cache IPC level2) max value : ??? : It depends of your server recommended : 100 The youngest value replace the oldest .
A string of 4 caracteres (see IPC::Shareable doc) It must be 'unique' .
The first level of hash session , whi can to be the name of LDAP attribute see below
The second level of hash session , whi can to be the code of application The access of %session if $session{LemonldapAttrLDAP}{lemonldapCodeAppli} with the value of key = profil .
0 : Control the request (default) 1 : Don't control the request (useful for jpeg )
0 : Let pass the lemonldap cookie to application (default). 1 : Block the lemonldap cookie.
0 : Let LWP chases redirection (default). 1 : Let Client chases redirection instead LWP.
0 : Let LWP resquets on ressource (default). 1 : force LWP to request via an external proxy.
It is the name of XML section which describes the backend used in order to store the session .
eg: lemontest
The public host name avaiable by user
The private host name not avaiable by user
The url of login page
Lemonldap(3), Lemonldap::Portal::Standard
http://lemonldap.sourceforge.net/
"Writing Apache Modules with Perl and C" by Lincoln Stein & Doug MacEachern - O'REILLY
Copyright (C) 2004 by Eric German & Xavier Guimard
Lemonldap originaly written by Eric german who decided to publish him in 2003 under the terms of the GNU General Public License version 2.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 dated June, 1991. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. A copy of the GNU General Public License is available in the source tree; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
To install Lemonldap::Handlers::Generic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Lemonldap::Handlers::Generic
CPAN shell
perl -MCPAN -e shell install Lemonldap::Handlers::Generic
For more information on module installation, please visit the detailed CPAN module installation guide.