summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMarcel Haerry <haerry@puzzle.ch>2009-05-12 22:23:11 +0200
committerduritong <peter.meier@immerda.ch>2009-05-17 15:49:51 +0200
commit1b1c03bc8fe69312b404fa425c68237c0295f1ae (patch)
tree0b500b7f998b4894d088e83934553bb1e55d032f /templates
parentdd9852fbb5419a6f157fe03490074959ce95ea1f (diff)
always set indexes for webdav
Diffstat (limited to 'templates')
-rw-r--r--templates/vhosts/webdav/CentOS.erb6
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