"reload" is now a response handler, fix conf files (fixes: #1300)

This commit is contained in:
Xavier Guimard 2017-09-13 11:30:48 +00:00
parent 43277fb8c0
commit 6398205dd6
3 changed files with 6 additions and 3 deletions

View File

@ -34,7 +34,8 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/lmerror/503
# configuration change
<Location /reload>
Require ip 127 ::1
PerlHeaderParserHandler Lemonldap::NG::Handler->reload
SetHandler perl-script
PerlResponseHandler Lemonldap::NG::Handler->reload
</Location>
# Uncomment this to activate status module

View File

@ -41,7 +41,8 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/lmerror/503
Deny from all
Allow from 127.0.0.0/8 ::1
</IfVersion>
PerlHeaderParserHandler Lemonldap::NG::Handler->reload
SetHandler perl-script
PerlResponseHandler Lemonldap::NG::Handler->reload
</Location>
# Uncomment this to activate status module

View File

@ -36,7 +36,8 @@ ErrorDocument 503 http://auth.__DNSDOMAIN__/lmerror/503
Order deny,allow
Deny from all
Allow from 127.0.0.0/8 ::1
PerlHeaderParserHandler Lemonldap::NG::Handler->reload
SetHandler perl-script
PerlResponseHandler Lemonldap::NG::Handler->reload
</Location>
# Uncomment this to activate status module