ipasserelle-userpanel/root/etc/e-smith/templates/etc/httpd/admin-conf/httpd.conf/25LemonLDAPHandler

21 lines
587 B
Plaintext

# Load LemonLDAP::NG Handler
PerlOptions +GlobalRequest
PerlRequire /var/lib/lemonldap-ng/handler/MyAdminHandler.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>
Order deny,allow
Deny from all
Allow from localhost
PerlHeaderParserHandler My::Package->refresh
Satisfy any
</Location>