Lemonldap::NG::Handler::Vhost

Lemonldap::NG::Handler::Vhost is a Perl extension for building a Lemonldap compatible handler able to manage Apache virtual host
Download

Lemonldap::NG::Handler::Vhost Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Xavier Guimard
  • Publisher web site:
  • http://search.cpan.org/~guimard/Net-Server-Mail-0.15/lib/Net/Server/Mail/ESMTP/XFORWARD.pm

Lemonldap::NG::Handler::Vhost Tags


Lemonldap::NG::Handler::Vhost Description

Lemonldap::NG::Handler::Vhost is a Perl extension for building a Lemonldap compatible handler able to manage Apache virtual host Lemonldap::NG::Handler::Vhost is a Perl extension for building a Lemonldap compatible handler able to manage Apache virtual hosts.SYNOPSISCreate your own package: package My::Package; use Lemonldap::NG::Handler::Vhost; # IMPORTANT ORDER our @ISA = qw (Lemonldap::NG::Handler::Vhost Lemonldap::NG::Handler); __PACKAGE__->init ( { locationRules => { 'vhost1.dc.com' => { 'default' => '$ou =~ /brh/' }, 'vhost2.dc.com' => { '^/pj/.*$' => q($qualif="opj"), '^/rh/.*$' => q($ou=~/brh/), '^/rh_or_opj.*$' => q($qualif="opj or $ou=~/brh/), default => 'accept', }, # Put here others Lemonldap::NG::Handler options } );Other example, using Lemonldap::NG::Handler::SharedConf package My::Package; use Lemonldap::NG::Handler::SharedConf; use Lemonldap::NG::Handler::Vhost; # IMPORTANT ORDER # our @ISA = qw (Lemonldap::NG::Handler::Vhost Lemonldap::NG::Handler::SharedConf); __PACKAGE__->init ... # as using Lemonldap::NG::Handler::SharedConf aloneChange configuration __PACKAGE__->setConf ( { locationRules => { 'vhost1.dc.com' => { 'default' => '$ou =~ /brh/' }, 'vhost2.dc.com' => { '^/pj/.*$' => q($qualif="opj"), '^/rh/.*$' => q($ou=~/brh/), '^/rh_or_opj.*$' => q($qualif="opj or $ou=~/brh/), default => 'accept', }, }, exportedHeaders => { 'vhost1.dc.com' => { 'Authorization'=>'"Basic ".MIME::Base64::encode_base64($uid)', 'User-Auth' => '$uid', }, 'vhost2.dc.com' => { 'User-Auth' => '$uid', }, } # Put here others Lemonldap::NG::Handler::SharedConf options } );Call your package in /conf/httpd.conf PerlRequire MyFile PerlInitHandler My::PackageLemonldap is a simple Web-SSO based on Apache::Session modules. It simplifies the build of a protected area with a few changes in the application (they justThis library provides a way to protect Apache virtual hosts with Lemonldap. Requirements: · Perl


Lemonldap::NG::Handler::Vhost Related Software