#====================================================================
# Apache configuration for LemonLDAP::NG Handler
#====================================================================
# Load LemonLDAP::NG Handler
PerlOptions +GlobalRequest
PerlRequire /var/lib/lemonldap-ng/handler/MyHandler.pm
# Common error page and security parameters
#ErrorDocument 403 http://auth.{$DomainName}/?lmError=403
#ErrorDocument 500 http://auth.{$DomainName}/?lmError=500
# Configuration reload mechanism (only 1 per physical server is
# needed): choose your URL to avoid restarting Apache when
# configuration change
SSLRequireSSL on
Order deny,allow
Deny from all
Allow from {"$localAccess $externalSSLAccess";}
PerlHeaderParserHandler My::Package->refresh
# Uncomment this to activate status module
#
# Order deny,allow
# Deny from all
# Allow from 127.0.0.0/8
# PerlHeaderParserHandler My::Package->status
#