]> git.openstreetmap.org Git - chef.git/blob - cookbooks/subversion/templates/default/apache.erb
Add a load more cookbooks to the public repository
[chef.git] / cookbooks / subversion / templates / default / apache.erb
1 # DO NOT EDIT - This file is being maintained by Chef
2
3 <VirtualHost *:80>
4         ServerName <%= @name %>
5         ServerAdmin webmaster@openstreetmap.org
6
7         CustomLog /var/log/apache2/<%= @name %>-access.log combined
8         CustomLog /var/log/apache2/<%= @name %>-svn-access.log "%h %t %u %{SVN-ACTION}e" env=SVN-ACTION
9         ErrorLog /var/log/apache2/<%= @name %>-error.log
10
11         <Location />
12                 DAV svn
13                 SVNPath <%= @directory %>
14
15                 AuthType Basic
16                 AuthName "<%= @realm %>"
17                 AuthUserFile <%= @password_file %>
18
19                 LimitXMLRequestBody 0
20                 LimitRequestBody 0
21
22                 <LimitExcept GET PROPFIND OPTIONS REPORT>
23                         Require valid-user
24                 </LimitExcept>
25         </Location>
26 </VirtualHost>