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