Share Pastebin
Guest
Public paste!

apache svn config

By: a guest | Mar 18th, 2010 | Syntax: None | Size: 0.87 KB | Hits: 51 | Expires: Never
Copy text to clipboard
  1. # TODO better documenting this file
  2. # TODO improved logging (see svn documentation)
  3.  
  4. <IfModule !dav_module>
  5.   LoadModule dav_module modules/mod_dav.so
  6. </IfModule>
  7.  
  8. # Load Subversion specific modules
  9. # mod_authz_svn only needed if you want path based authentication
  10. LoadModule dav_svn_module modules/mod_dav_svn.so
  11. #LoadModule authz_svn_module modules/mod_authz_svn.so
  12.  
  13. Alias /svn "c:/svn"
  14.  
  15. # Allow anonymous aread-only access for all repositories
  16. # Each repository has it's own list of users that are allowed read/write or a global password list
  17. <Location /svn>
  18.   DAV svn
  19.   SVNParentPath c:\svn
  20.   SVNListParentPath on
  21.  
  22.   # FIXME: authentication needs to be configured
  23.  
  24.   # What makes it read-only for any one except valid users
  25.   <LimitExcept GET PROPFIND OPTIONS REPORT>
  26.     Order deny,allow
  27.     Allow from all
  28.     #Require valid-user
  29.   </LimitExcept>
  30. </Location>