summaryrefslogtreecommitdiff
path: root/templates/vhosts/static
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-11-08 14:22:42 +0000
committermh <mh@immerda.ch>2008-11-08 14:22:42 +0000
commitf4ff26f1b89c405f714aca98cd2078fab678ae1e (patch)
treef1de2f6c1c52a81e9c650a65a10714c3090cdc92 /templates/vhosts/static
parentc92a170b34bfd26910793479b63e86184f702296 (diff)
added options for vhosts
Diffstat (limited to 'templates/vhosts/static')
-rw-r--r--templates/vhosts/static/OpenBSD.erb12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/vhosts/static/OpenBSD.erb b/templates/vhosts/static/OpenBSD.erb
index 7751c6d..d5714f0 100644
--- a/templates/vhosts/static/OpenBSD.erb
+++ b/templates/vhosts/static/OpenBSD.erb
@@ -14,6 +14,12 @@
Redirect permanent / https://<%= servername %>/
<%- end %>
+ <%- unless options.to_s == 'absent' then -%>
+ <Directory "<%= documentroot %>">
+ Options <%= options %>
+ </Directory>
+
+ <%- end %>
<%- unless additional_options.to_s == 'absent' then -%>
<%= additional_options %>
<%- end -%>
@@ -31,6 +37,12 @@
ErrorLog <%= logdir %>/error_log
CustomLog <%= logdir %>/access_log combined
+ <%- unless options.to_s == 'absent' then -%>
+ <Directory "<%= documentroot %>">
+ Options <%= options %>
+ </Directory>
+
+ <%- end %>
<%- unless additional_options.to_s == 'absent' then -%>
<%= additional_options %>
<%- end -%>