47_mod_dav_svn.conf 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. LoadModule dav_module modules/mod_dav.so
  2. LoadModule dav_svn_module modules/mod_dav_svn.so
  3. LoadModule authz_svn_module modules/mod_authz_svn.so
  4. # To serve all repositories under SVNParentPath with same configuration
  5. <Location /svn>
  6. DAV svn
  7. SVNParentPath /var/svn/repos
  8. SVNIndexXSLT "/svnindex.xsl"
  9. #AuthType Basic
  10. #AuthName "Subversion repository"
  11. #AuthUserFile /var/svn/conf/svnusers_default
  12. #Require valid-user
  13. </Location>
  14. #
  15. # Example configuration to enable HTTP access for a directory
  16. # containing Subversion repositories, "/var/www/svn". Each repository
  17. # must be both:
  18. #
  19. # a) readable and writable by the 'apache' user, and
  20. #
  21. # b) labelled with the 'httpd_sys_content_t' context if using
  22. # SELinux
  23. #
  24. #
  25. # To create a new repository "http://localhost/repos/stuff" using
  26. # this configuration, run as root:
  27. #
  28. # # cd /var/www/svn
  29. # # svnadmin create stuff
  30. # # chown -R apache.apache stuff
  31. # # chcon -R -t httpd_sys_content_t stuff
  32. #
  33. #<Location /repos>
  34. # DAV svn
  35. # SVNParentPath /var/www/svn
  36. #
  37. # # Limit write permission to list of valid users.
  38. # <LimitExcept GET PROPFIND OPTIONS REPORT>
  39. # # Require SSL connection for password protection.
  40. # # SSLRequireSSL
  41. #
  42. # AuthType Basic
  43. # AuthName "Authorization Realm"
  44. # AuthUserFile /path/to/passwdfile
  45. # Require valid-user
  46. # </LimitExcept>
  47. #</Location>