# begin vhost for <%= title %> 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 -%> <% if mpm == true %> AssignUserId <%= user %> <%= gid %> <% end %> # end vhost for <%= title %>