diff options
author | mh <mh@immerda.ch> | 2008-12-05 19:24:43 +0000 |
---|---|---|
committer | mh <mh@immerda.ch> | 2008-12-05 19:24:43 +0000 |
commit | 60c2f219d5531873899fed29e4ddc6d52ab7e268 (patch) | |
tree | f5a3656b9becad6baaaeaebd2aa2fd90a91fe8b4 /templates/vhosts/static | |
parent | db33868a2370af074edba306667861165e5d6d2b (diff) |
ignore absent
Diffstat (limited to 'templates/vhosts/static')
-rw-r--r-- | templates/vhosts/static/OpenBSD.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/vhosts/static/OpenBSD.erb b/templates/vhosts/static/OpenBSD.erb index 798658f..4e95988 100644 --- a/templates/vhosts/static/OpenBSD.erb +++ b/templates/vhosts/static/OpenBSD.erb @@ -17,7 +17,7 @@ <%- if (options.to_s != 'absent' or htpasswd_file.to_s != 'absent') and not ssl_mode.to_s == 'force' then -%> <Directory "<%= documentroot %>/"> <%- 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 -%> + Options <%- unless options.to_s == 'absent' then -%><%= options %><%- end -%> <%- if do_includes.to_s == 'true' and not options.include?('+Includes') then -%>+Includes<%- end -%> <%- end -%> <%- unless htpasswd_file.to_s == 'absent' then -%> |