Commit 6398205d authored by Xavier Guimard's avatar Xavier Guimard

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

parent 43277fb8
......@@ -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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment