summaryrefslogtreecommitdiff
path: root/templates/site.erb
blob: 795fadced7ecc868a417e7d771dff815def8145a (plain)
1
2
3
4
5
6
7
8
9
10
11
# begin vhost for <%= title %>
<VirtualHost *:80>
   ServerName <%= title %>.<%= domain %>
<% if server_alias != false %>   ServerAlias <%= server_alias %><% end %>
   DocumentRoot <%= docroot %>
<% if redirect != false %>   RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= domain %>/<%= redirect %><% end %>
<% if use != false %><% use.each do |instance| -%>
   Use <%= instance %><% end -%>
<% end -%>
</VirtualHost>
# end vhost for <%= title %>