summaryrefslogtreecommitdiff
path: root/templates/site.erb
blob: 1d050d6d0e226cda1804fe2b7461a9102c2b0887 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# begin vhost for <%= title %>
<VirtualHost *:80>
   ServerName <%= title %>.<%= domain %>
<% if server_alias != false %>   ServerAlias <%= server_alias %><% end %>
   DocumentRoot <%= docroot %>
<% if redirect_match != false %>   RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= 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 %>