blob: 09ce632f7936a9ce00aac4b824ebbf6cd45f6d62 (
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' || @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>
|