1 # DO NOT EDIT - This file is being maintained by Chef
 
   2 <% [80, 443].each do |port| -%>
 
   4 <VirtualHost *:<%= port %>>
 
   5         ServerName <%= @name %>
 
   6         ServerAdmin webmaster@openstreetmap.org
 
  12         CustomLog /var/log/apache2/<%= @name %>-access.log combined
 
  13         CustomLog /var/log/apache2/<%= @name %>-svn-access.log "%h %t %u %{SVN-ACTION}e" env=SVN-ACTION
 
  14         ErrorLog /var/log/apache2/<%= @name %>-error.log
 
  18                 SVNPath <%= @directory %>
 
  21                 AuthName "<%= @realm %>"
 
  22                 AuthUserFile <%= @password_file %>
 
  27                 <Limit GET PROPFIND OPTIONS REPORT>
 
  31                 <LimitExcept GET PROPFIND OPTIONS REPORT>