From e27ff5d37a5c50db0d4b7e884f212d14f7cb8e74 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 6 Nov 2009 10:44:39 -0200 Subject: Updating template --- templates/website.erb | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) (limited to 'templates') diff --git a/templates/website.erb b/templates/website.erb index ac41b9b..0c9d075 100644 --- a/templates/website.erb +++ b/templates/website.erb @@ -1,18 +1,11 @@ # begin vhost for <%= title %> ServerName <%= title %>.<%= domain %> -<% if server_alias != false %> - ServerAlias <%= server_alias %> -<% end %> +<% if server_alias != false %> ServerAlias <%= server_alias %><% end %> DocumentRoot <%= docroot %> -<% if redirect != false %> - RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= domain %>/<%= redirect %> -<% end %> - +<% if redirect != false %> RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= domain %>/<%= redirect %><% end %> <% if use != false %> - <% use.each do |instance| -%> - Use <%= instance %> - <% end -%> +<% use.each do |instance| -%> Use <%= instance %><% end -%> <% end -%> # end vhost for <%= title %> -- cgit v1.2.3