Workarround conf not being reloaded (/lm-reload getting a 403)

This commit is contained in:
Daniel Berteaud 2014-07-01 22:28:05 +02:00
parent 7fc9b03b42
commit 17c3aaf286
1 changed files with 3 additions and 1 deletions

View File

@ -14,11 +14,13 @@ PerlRequire Lemonldap/NG/Handler.pm
# Configuration reload mechanism (only 1 per physical server is
# needed): choose your URL to avoid restarting Apache when
# configuration change
# Dummy Alias so apache allows access to /lm-reload
Alias /lm-reload /etc/httpd/proxy/proxy.pac
<Location /lm-reload>
SSLRequireSSL on
Order deny,allow
Deny from all
Allow from {"$localAccess $externalSSLAccess";}
Allow from {"$LocalIP $localAccess $externalSSLAccess";}
PerlHeaderParserHandler Lemonldap::NG::Handler->refresh
</Location>