diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-01-07 19:27:05 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-01-07 19:27:05 -0200 |
commit | cae28ffea81f002bd09dd596af221c18372daeef (patch) | |
tree | 48ce149718bbc873827f0c50f3966afaeeb8339e /templates/site.erb | |
parent | b936755f402e7be72d00d5ccb618c222fbea23fc (diff) | |
download | puppet-apache-cae28ffea81f002bd09dd596af221c18372daeef.tar.gz puppet-apache-cae28ffea81f002bd09dd596af221c18372daeef.tar.bz2 |
Adding $apache_use_domain (2)
Diffstat (limited to 'templates/site.erb')
-rw-r--r-- | templates/site.erb | 4 |
1 files changed, 2 insertions, 2 deletions
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 %> <VirtualHost *:80> - 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 %> |