# Load LemonLDAP::NG Handler
PerlOptions +GlobalRequest
PerlRequire /var/lib/lemonldap-ng/handler/MyFpbxHandler.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
</Location>

