You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1001 B
32 lines
1001 B
#====================================================================
|
|
# 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
|
|
<Location /lm-reload>
|
|
SSLRequireSSL on
|
|
Order deny,allow
|
|
Deny from all
|
|
Allow from {"$localAccess $externalSSLAccess";}
|
|
PerlHeaderParserHandler My::Package->refresh
|
|
</Location>
|
|
|
|
# Uncomment this to activate status module
|
|
#<Location /status>
|
|
# Order deny,allow
|
|
# Deny from all
|
|
# Allow from 127.0.0.0/8
|
|
# PerlHeaderParserHandler My::Package->status
|
|
#</Location>
|
|
|
|
|