summaryrefslogtreecommitdiff
path: root/templates/vhosts/static
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-12-05 19:09:40 +0000
committermh <mh@immerda.ch>2008-12-05 19:09:40 +0000
commit17829890b4ce9880b550680ebdc958cbfe819cec (patch)
tree5f3d785fe32e775b740274c788d4001b03a342f6 /templates/vhosts/static
parentba840ab806ed2ea3bcf02f5318c08c51212dfdc6 (diff)
correct decision and made it more logical
Diffstat (limited to 'templates/vhosts/static')
-rw-r--r--templates/vhosts/static/OpenBSD.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/vhosts/static/OpenBSD.erb b/templates/vhosts/static/OpenBSD.erb
index ce5e6b1..798658f 100644
--- a/templates/vhosts/static/OpenBSD.erb
+++ b/templates/vhosts/static/OpenBSD.erb
@@ -16,7 +16,7 @@
<%- if (options.to_s != 'absent' or htpasswd_file.to_s != 'absent') and not ssl_mode.to_s == 'force' then -%>
<Directory "<%= documentroot %>/">
- <%- unless options.to_s == 'absent' or not do_includes.to_s == 'true' then -%>
+ <%- if options.to_s != 'absent' or do_includes.to_s == 'true' then -%>
Options <%= options %> <%- if do_includes.to_s == 'true' and not options.include?('+Includes') then -%>+Includes<%- end -%>
<%- end -%>
@@ -48,7 +48,7 @@
CustomLog <%= logdir %>/access_log combined
<%- if options.to_s != 'absent' or htpasswd_file.to_s != 'absent' then -%>
<Directory "<%= documentroot %>/">
- <%- unless options.to_s == 'absent' or not do_includes.to_s == 'true' then -%>
+ <%- if options.to_s != 'absent' or do_includes.to_s == 'true' then -%>
Options <%= options %> <%- if do_includes.to_s == 'true' and not options.include?('+Includes') then -%>+Includes<%- end -%>
<%- end -%>