37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
#====================================================================
|
|
# 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
|
|
ErrorDocument 403 http://auth.__DNSDOMAIN__/?lmError=403
|
|
ErrorDocument 500 http://auth.__DNSDOMAIN__/?lmError=500
|
|
ErrorDocument 503 http://auth.__DNSDOMAIN__/?lmError=503
|
|
|
|
<VirtualHost __VHOSTLISTEN__>
|
|
ServerName reload.__DNSDOMAIN__
|
|
|
|
# Configuration reload mechanism (only 1 per physical server is
|
|
# needed): choose your URL to avoid restarting Apache when
|
|
# configuration change
|
|
<Location /reload>
|
|
Require all granted
|
|
PerlHeaderParserHandler My::Package->refresh
|
|
</Location>
|
|
|
|
# Uncomment this to activate status module
|
|
#<Location /status>
|
|
# Require ip 127
|
|
# PerlHeaderParserHandler My::Package->status
|
|
#</Location>
|
|
|
|
</VirtualHost>
|
|
|
|
|