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

environments/ppa-mbqj77/deployments/1
Xavier Guimard 8 years ago
parent 43277fb8c0
commit 6398205dd6
  1. 3
      _example/etc/handler-apache2.4.conf
  2. 3
      _example/etc/handler-apache2.X.conf
  3. 3
      _example/etc/handler-apache2.conf

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

Loading…
Cancel
Save