# ************************************ # Managed by Puppet # ************************************ NameVirtualHost <%= vhost_name %>:<%= port %> :<%= port %>> ServerName <%= srvname %> <% if serveraliases.is_a? Array -%> <% serveraliases.each do |name| -%><%= " ServerAlias #{name}\n" %><% end -%> <% elsif serveraliases != '' -%> <%= " ServerAlias #{serveraliases}" %> <% end -%> DocumentRoot <%= docroot %> ForceType text/plain AddDefaultCharset UTF-8 > Options <%= options %> AllowOverride None Order allow,deny allow from all <%= vhost_extra %> ErrorLog /var/log/apache2/<%= name %>_error.log LogLevel warn CustomLog /var/log/apache2/<%= name %>_access.log combined ServerSignature Off