2010-03-12 12:46:01 +01:00
|
|
|
#====================================================================
|
|
|
|
# Apache configuration for LemonLDAP::NG Handler
|
|
|
|
#====================================================================
|
|
|
|
|
|
|
|
# Uncomment this if no previous NameVirtualHost declaration
|
|
|
|
#NameVirtualHost __VHOSTLISTEN__
|
|
|
|
|
|
|
|
# Load LemonLDAP::NG Handler
|
|
|
|
PerlOptions +GlobalRequest
|
|
|
|
PerlRequire __HANDLER__
|
|
|
|
|
|
|
|
# Common error page and security parameters
|
2010-09-28 16:40:50 +02:00
|
|
|
ErrorDocument 403 http://auth.__DNSDOMAIN__/?lmError=403
|
|
|
|
ErrorDocument 500 http://auth.__DNSDOMAIN__/?lmError=500
|
2012-03-01 12:04:49 +01:00
|
|
|
ErrorDocument 503 http://auth.__DNSDOMAIN__/?lmError=503
|
2010-03-12 12:46:01 +01:00
|
|
|
|
2010-07-28 16:34:38 +02:00
|
|
|
<VirtualHost __VHOSTLISTEN__>
|
|
|
|
ServerName reload.__DNSDOMAIN__
|
|
|
|
|
2010-03-12 12:46:01 +01:00
|
|
|
# Configuration reload mechanism (only 1 per physical server is
|
|
|
|
# needed): choose your URL to avoid restarting Apache when
|
|
|
|
# configuration change
|
|
|
|
<Location /reload>
|
|
|
|
Order deny,allow
|
|
|
|
Deny from all
|
|
|
|
Allow from 127.0.0.0/8
|
|
|
|
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>
|
|
|
|
|
|
|
|
</VirtualHost>
|
|
|
|
|
2010-07-28 16:34:38 +02:00
|
|
|
|