]> git.donarmstrong.com Git - dsa-puppet.git/blobdiff - 3rdparty/modules/apache/templates/mod/ldap.conf.erb
add Openstack modules to 3rdparty
[dsa-puppet.git] / 3rdparty / modules / apache / templates / mod / ldap.conf.erb
diff --git a/3rdparty/modules/apache/templates/mod/ldap.conf.erb b/3rdparty/modules/apache/templates/mod/ldap.conf.erb
new file mode 100644 (file)
index 0000000..0019776
--- /dev/null
@@ -0,0 +1,11 @@
+<Location /ldap-status>
+    SetHandler ldap-status
+    <%- if scope.function_versioncmp([@apache_version, '2.4']) >= 0 -%>
+    Require ip 127.0.0.1 ::1
+    <%- else -%>
+    Order deny,allow
+    Deny from all
+    Allow from 127.0.0.1 ::1
+    Satisfy all
+    <%- end -%>
+</Location>