diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/vhosts/webdav/CentOS.erb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/vhosts/webdav/CentOS.erb b/templates/vhosts/webdav/CentOS.erb index e96a1cd..d7c685b 100644 --- a/templates/vhosts/webdav/CentOS.erb +++ b/templates/vhosts/webdav/CentOS.erb @@ -31,6 +31,9 @@ <%- if options.to_s != 'absent' or do_includes.to_s == 'true' then -%> Options <%- unless options.to_s == 'absent' then -%><%= options %><%- end -%><%- unless options.include?('Indexes') then -%> Indexes<%- end -%> + <%- else -%> + Options Indexes + <%- end -%> <%- unless htpasswd_file.to_s == 'absent' then -%> AuthType Basic @@ -99,6 +102,9 @@ <%- if options.to_s != 'absent' or do_includes.to_s == 'true' then -%> Options <%- unless options.to_s == 'absent' then -%><%= options %><%- end -%><%- unless options.include?('Indexes') then -%> Indexes<%- end -%> + <%- else -%> + Options Indexes + <%- end -%> <%- unless htpasswd_file.to_s == 'absent' then -%> AuthType Basic |