changeset 73:f413aba301be puppet-3.6

Fix differences in how we allow/deny between Apache 2.2 and 2.4
author IBBoard <dev@ibboard.co.uk>
date Sun, 25 Oct 2015 20:28:43 +0000
parents 33682e5b34fc
children c2e5027202e2
files modules/website/files/zzz-custom.conf
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/modules/website/files/zzz-custom.conf	Sun Oct 25 20:17:52 2015 +0000
+++ b/modules/website/files/zzz-custom.conf	Sun Oct 25 20:28:43 2015 +0000
@@ -56,8 +56,13 @@
     </IfVersion>
 </Location>
 <Location /.well-known>
+    <IfVersion < 2.4>
 	Order Deny,Allow
 	Allow from all
+    </IfVersion>
+    <IfVersion >= 2.4>
+        Require all granted
+    </IfVersion>
 </Location>
 <FilesMatch ^\.>
     <IfVersion < 2.4>