diff options
author | mh <mh@immerda.ch> | 2011-10-08 19:22:40 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-10-08 19:22:40 +0200 |
commit | 2fa748dcc92e34b13bd4b6f7e452ef89b29490c4 (patch) | |
tree | f3827bd2c8cc3206b4f2a5a8a09b4951940d6cc4 /templates/vhosts/static/partial.erb | |
parent | 24c047d1cfc54c003eef7445e177e28f373c1da4 (diff) |
introduce a new template style, less duplicated things, more handy options
Diffstat (limited to 'templates/vhosts/static/partial.erb')
-rw-r--r-- | templates/vhosts/static/partial.erb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/vhosts/static/partial.erb b/templates/vhosts/static/partial.erb index 03bd2f8..78dc925 100644 --- a/templates/vhosts/static/partial.erb +++ b/templates/vhosts/static/partial.erb @@ -1,8 +1,5 @@ <Directory "<%= documentroot %>/"> - AllowOverride <%= allow_override %> - <%- 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 -%> +<%= scope.function_template('apache/vhosts/partials/std_override_options.erb') %> - <%- end -%> <%= scope.function_template('apache/vhosts/partials/authentication.erb') %> </Directory>
\ No newline at end of file |