summaryrefslogtreecommitdiff
path: root/templates/website.erb
blob: 0c9d075882c3a5fc5e9c01ddc773620640da3dec (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 %>