Lemonldap::NG::Handler::Vhost3pm
Perl extension for building a lemonldap::ng compatible handler able to manage apache virtual hosts.
Usage
Create your own package:
package My::Package;use Lemonldap::NG::Handler::Vhost;# IMPORTANT ORDERour @ISA = qw (Lemonldap::NG::Handler::Vhost Lemonldap::NG::Handler::Simple);__PACKAGE__->init ( { locationRules => {'vhost1.dc.com' => {'default' => '$ou =~ /brh/'},'vhost2.dc.com' => {'^/pj/.*$' => '$qualif="opj"','^/rh/.*$' => '$ou=~/brh/','^/rh_or_opj.*$' => '$qualif="opj" or $ou=~/brh/',default => 'accept',},# Put here others Lemonldap::NG::Handler::Simple options});
Call your package in <apache-directory>/conf/httpd.conf
PerlRequire MyFilePerlHeaderParserHandler My::Package
Overview
This library provides a way to protect Apache virtual hosts with Lemonldap::NG.
Initialisation parameters
Lemonldap::NG::Handler::Vhost splits the locationRules parameter into a hash reference which contains anonymous hash references as used by Lemonldap::NG::Handler::Simple.
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>
Copyright and license
- Copyright (C) 2006, 2007, 2008, 2009, 2010 by Xavier Guimard, <[email protected]>
- Copyright (C) 2012 by Francois-Xavier Deltombe, <[email protected].>
- Copyright (C) 2006, 2010, 2011, 2012, 2013 by Clement Oudot, <[email protected]>
This library 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; either version 2, or (at your option) any later version.
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.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.