summaryrefslogtreecommitdiff
path: root/templates/vhosts/static
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2008-12-06 12:45:55 +0000
committermh <mh@immerda.ch>2008-12-06 12:45:55 +0000
commit2c5ca964b2e1d027d8d365cae14d156bf6f0ab3b (patch)
tree0caed7b5b2655483c408f5850f5cd927bbab387c /templates/vhosts/static
parentc3efcc89935af43f1ebf13d4185bae3892777365 (diff)
fixing ssl_mode decision, still set the directory stuff
Diffstat (limited to 'templates/vhosts/static')
-rw-r--r--templates/vhosts/static/OpenBSD.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/vhosts/static/OpenBSD.erb b/templates/vhosts/static/OpenBSD.erb
index 9aee749..5abbd5c 100644
--- a/templates/vhosts/static/OpenBSD.erb
+++ b/templates/vhosts/static/OpenBSD.erb
@@ -16,7 +16,7 @@
Redirect permanent / https://<%= servername %>/
<%- end -%>
- <%- if (options.to_s != 'absent' or htpasswd_file.to_s != 'absent') and not ssl_mode.to_s == 'force' then -%>
+ <%- if not ssl_mode.to_s == 'force' then -%>
<Directory "<%= documentroot %>/">
<%- if options.to_s != 'absent' or do_includes.to_s == 'true' then -%>
Options <%- unless options.to_s == 'absent' then -%><%= options %><%- end -%> <%- if do_includes.to_s == 'true' and not options.include?('+Includes') then -%>+Includes<%- end -%>