Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > e0b62c2cfb9f089e05bf234d63d435cc > files > 2

lemonldap-ng-test-1.2.4-2.mga4.noarch.rpm

#====================================================================
# Apache configuration for LemonLDAP::NG Handler
#====================================================================

# Uncomment this if no previous NameVirtualHost declaration
#NameVirtualHost *:80

# Load LemonLDAP::NG Handler
PerlOptions +GlobalRequest
PerlRequire /var/lib/lemonldap-ng/handler/MyHandler.pm

# Common error page and security parameters
ErrorDocument 403 http://auth.example.com/?lmError=403
ErrorDocument 500 http://auth.example.com/?lmError=500
ErrorDocument 503 http://auth.example.com/?lmError=503

<VirtualHost *:80>
    ServerName reload.example.com

    # 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>