Add $aliases and $redirect to apache::site, ensure default vhost is loaded first.

This commit is contained in:
Ossi Salmi 2010-02-18 13:32:34 +02:00 committed by Timo Mkinen
parent bf4ad72690
commit ced754f674
2 changed files with 41 additions and 21 deletions

View file

@ -1,5 +1,8 @@
<VirtualHost *:80>
ServerName <%= site_fqdn %>
<% if aliases != "" -%>
ServerAlias <%= aliases %>
<% end -%>
ErrorLog /srv/www/log/http/<%= site_fqdn %>/error_log
CustomLog /srv/www/log/http/<%= site_fqdn %>/access_log combined
DocumentRoot /srv/www/http/<%= site_fqdn %>