blob: b97e128e506dd4235cbb1d6e6a1cd33576baccff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
DAVLockDB <%= real_dav_db_dir %>/DAVLock
<Directory "<%= documentroot %>/">
Dav on
AllowOverride None
<% if options.to_s != 'absent' or do_includes.to_s == 'true' -%>
Options <%- unless options.to_s == 'absent' -%><%= options %><%- end -%><%- unless options.include?('Indexes') -%> Indexes<%- end -%>
<% else -%>
Options Indexes
<% end -%>
<%= scope.function_template(['apache/vhosts/partials/authentication.erb']) %>
<% if ldap_auth.to_s == 'true' then -%>
Include include.d/ldap_auth.inc
<% unless ldap_user.to_s == 'any' -%>
Require ldap-user <%= ldap_user.to_s %>
<% else -%>
Require valid-user
<% end
end -%>
</Directory>
|