summaryrefslogtreecommitdiff
path: root/templates/site.erb
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-01-07 22:22:23 -0200
committerSilvio Rhatto <rhatto@riseup.net>2010-01-07 22:22:23 -0200
commita9f63debd2e2486c2c425523a6febfd0ecf70b88 (patch)
treea6a50fde9bc0936f1371f4cd96a6fd512cff8a17 /templates/site.erb
parent979b1a5b978e48ea7de47314823dff5930161943 (diff)
downloadpuppet-apache-a9f63debd2e2486c2c425523a6febfd0ecf70b88.tar.gz
puppet-apache-a9f63debd2e2486c2c425523a6febfd0ecf70b88.tar.bz2
Using $hosting_domain instead of $apache_use_domain
Diffstat (limited to 'templates/site.erb')
-rw-r--r--templates/site.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/site.erb b/templates/site.erb
index 56cc929..18fce97 100644
--- a/templates/site.erb
+++ b/templates/site.erb
@@ -1,9 +1,9 @@
# begin vhost for <%= title %>
<VirtualHost *:80>
- ServerName <%= title %>.<%= apache_use_domain %>
+ ServerName <%= title %>.<%= hosting_domain %>
<% if server_alias != false %> ServerAlias <%= server_alias %><% end %>
DocumentRoot <%= docroot %>
-<% if redirect_match != false %> RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= apache_use_domain %>/<%= redirect_match %><% end %>
+<% if redirect_match != false %> RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= hosting_domain %>/<%= redirect_match %><% end %>
<% if redirect != false %> Redirect <%= redirect %><% end %>
<% if use != false %><% use.each do |instance| -%>
Use <%= instance %>