diff options
author | mh <mh@immerda.ch> | 2011-10-08 12:31:14 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-10-08 12:31:14 +0200 |
commit | 9f52ab2655acccd47cf7e3a824b603c5d6846f35 (patch) | |
tree | 167561f632d79e79e873865fdf598919fd2b731b /templates/vhosts/static/partial.erb | |
parent | 34df80bc271f7ed17de879e82b54f31a98926e08 (diff) |
migrating a first part over to the new partial style
Diffstat (limited to 'templates/vhosts/static/partial.erb')
-rw-r--r-- | templates/vhosts/static/partial.erb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/vhosts/static/partial.erb b/templates/vhosts/static/partial.erb new file mode 100644 index 0000000..03bd2f8 --- /dev/null +++ b/templates/vhosts/static/partial.erb @@ -0,0 +1,8 @@ + <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 -%> + + <%- end -%> +<%= scope.function_template('apache/vhosts/partials/authentication.erb') %> + </Directory>
\ No newline at end of file |