From cae28ffea81f002bd09dd596af221c18372daeef Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 7 Jan 2010 19:27:05 -0200 Subject: Adding $apache_use_domain (2) --- templates/site.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates/site.erb') diff --git a/templates/site.erb b/templates/site.erb index f75c81a..56cc929 100644 --- a/templates/site.erb +++ b/templates/site.erb @@ -1,9 +1,9 @@ # begin vhost for <%= title %> - ServerName <%= title %>.<%= use_domain %> + ServerName <%= title %>.<%= apache_use_domain %> <% if server_alias != false %> ServerAlias <%= server_alias %><% end %> DocumentRoot <%= docroot %> -<% if redirect_match != false %> RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= use_domain %>/<%= redirect_match %><% end %> +<% if redirect_match != false %> RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= apache_use_domain %>/<%= redirect_match %><% end %> <% if redirect != false %> Redirect <%= redirect %><% end %> <% if use != false %><% use.each do |instance| -%> Use <%= instance %> -- cgit v1.2.3