From 17c3aaf2868d9f0b40e271ec5b9dafd49b669b80 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 1 Jul 2014 22:28:05 +0200 Subject: [PATCH] Workarround conf not being reloaded (/lm-reload getting a 403) --- .../e-smith/templates/etc/httpd/conf/httpd.conf/97LemonLDAPHandler | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/97LemonLDAPHandler b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/97LemonLDAPHandler index d215fe4..7c54704 100644 --- a/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/97LemonLDAPHandler +++ b/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/97LemonLDAPHandler @@ -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 SSLRequireSSL on Order deny,allow Deny from all - Allow from {"$localAccess $externalSSLAccess";} + Allow from {"$LocalIP $localAccess $externalSSLAccess";} PerlHeaderParserHandler Lemonldap::NG::Handler->refresh