From 12cdb4bdd7b6f1d67076fdc8e3f5a197e66f615d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 6 Jun 2013 17:20:10 -0300 Subject: Adding additional_directives parameter --- templates/site.erb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'templates') diff --git a/templates/site.erb b/templates/site.erb index 911d97a..aef58e0 100644 --- a/templates/site.erb +++ b/templates/site.erb @@ -32,6 +32,7 @@ RewriteCond %{HTTP_HOST} !=<%= canonical %> [NC] RewriteCond %{HTTP_HOST} !="" RewriteRule ^/(.*) <%= protocol %>://<%= canonical %>/$1 [L,R=301] +<%- if additional_directives != false -%><%= additional_directives %><%- end -%> <% end %> # end vhost for <%= title %> @@ -49,6 +50,7 @@ <% if use != false %><% use.each do |instance| -%> Use <%= instance %> <% end -%><% end -%> +<%- if additional_directives != false -%><%= additional_directives %><%- end -%> <% if mpm == true %> AssignUserId <%= user %> <%= gid %> -- cgit v1.2.3