Wrap text
Report abuse
<VirtualHost <%= ipaddr %><%= vhostport %>>
ServerName <%= mainvhost %>
<% aliasnames.each do |val| -%>
ServerAlias <%= val %>
<% end -%>
ServerAdmin <%= webmaster %>
DocumentRoot <%= docroot %>
ErrorLog <%= logdir %>/error_log
CustomLog <%= logdir %>/access_log <%= logtype %>
<% if allowoverride != "" -%>
<Directory <%= docroot %>>
AllowOverride <%= allowoverride %>
<% if options != "" -%>
Options <%= options %>
<% end -%>
</Directory>
<% end -%>
<% if customlines != "" -%>
<% customlines.each do |val| -%>
<%= val %>
<% end -%>
<% end -%>
</VirtualHost>