view modules/apache/templates/mod/ldap.conf.erb @ 36:37675581a273 puppet-3.6

Update Puppet module for Apache (pulls in concat module)
author IBBoard <dev@ibboard.co.uk>
date Sat, 14 Mar 2015 20:07:04 +0000
parents 956e484adc12
children 675c1cc61eaf
line wrap: on
line source

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