summaryrefslogtreecommitdiff
path: root/templates/site.erb
blob: f75c81ad9aa1dd519cf269ee6d6ce648ae287f25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# begin vhost for <%= title %>
<VirtualHost *:80>
   ServerName <%= title %>.<%= 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 != false %>   Redirect <%= redirect %><% end %>
<% if use != false %><% use.each do |instance| -%>
   Use <%= instance %>
<% end -%><% end -%>
</VirtualHost>
# end vhost for <%= title %>