blob: 4f5f3a1e393bbd171d61d65b5befd123d4ae84fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# begin vhost for <%= title %>
<VirtualHost *:80>
ServerName <%= title %>.<%= hosting_domain %>
<% if server_alias != false %> ServerAlias <%= server_alias %><% end %>
DocumentRoot <%= docroot %>
<% if redirect_match != false %> RedirectMatch ^/$ <%= protocol %>://<%= title %>.<%= hosting_domain %>/<%= redirect_match %><% end %>
<% if redirect != false %> Redirect <%= redirect %><% end %>
<% if aliases != false %><% aliases.each do |map| -%>
Alias <%= map %>
<% end -%><% end -%>
<% if use != false %><% use.each do |instance| -%>
Use <%= instance %>
<% end -%><% end -%>
</VirtualHost>
# end vhost for <%= title %>
|