21 lines
476 B
Plaintext
21 lines
476 B
Plaintext
<VirtualHost *>
|
|
ServerName protected.example.com
|
|
PerlRequire /var/lib/lemonldap-ng/handler/MyHandler.pm
|
|
|
|
# Area protection
|
|
PerlHeaderParserHandler My::Package
|
|
|
|
# Configuration reload mechanism
|
|
<Location /reload>
|
|
Order deny,allow
|
|
Deny from all
|
|
Allow from 127.0.0.0/8
|
|
PerlHeaderParserHandler My::Package->refresh
|
|
</Location>
|
|
|
|
# Optional interception of the logout URL
|
|
<Location /logout>
|
|
PerlHeaderParserHandler My::Package->logout
|
|
</Location>
|
|
</VirtualHost>
|