]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/subversion/templates/default/apache.erb
Remove write acess to svn
[chef.git] / cookbooks / subversion / templates / default / apache.erb
index 251dbc8e445de6faa19c27094049f3e0d2be8567..cadae8b0892055d4cef99aeaeb41ef24e0f62623 100644 (file)
@@ -4,6 +4,8 @@
   ServerName <%= @name %>
   ServerAdmin webmaster@openstreetmap.org
 
+  Protocols http/1.1
+
   SSLEngine on
   SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem
   SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key
   <Location />
     DAV svn
     SVNPath <%= @directory %>
-
-    AuthType Basic
-    AuthName "<%= @realm %>"
-    AuthUserFile <%= @password_file %>
+    SVNIndexXSLT /svnindex.xsl
 
     LimitXMLRequestBody 0
     LimitRequestBody 0
@@ -28,7 +27,7 @@
     </Limit>
 
     <LimitExcept GET PROPFIND OPTIONS REPORT>
-      Require valid-user
+      Require all denied
     </LimitExcept>
   </Location>
 </VirtualHost>