blob: 156b4b101ce0911758a74bee9661c9553cce67bb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# begin vhost for <%= title %>
<VirtualHost *:80>
ServerName <%= title %>.<%= domain %>
<% if alias != false %>
ServerAlias <%= 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 %>
|