37319b
37319b
LoadModule dav_svn_module     modules/mod_dav_svn.so
37319b
LoadModule authz_svn_module   modules/mod_authz_svn.so
37319b
LoadModule dontdothat_module  modules/mod_dontdothat.so
37319b
37319b
#
37319b
# Example configuration to enable HTTP access for a directory
37319b
# containing Subversion repositories, "/var/www/svn".  Each repository
37319b
# must be both:
37319b
#
37319b
#   a) readable and writable by the 'apache' user, and
37319b
#
37319b
#   b) labelled with the 'httpd_sys_content_t' context if using
37319b
#   SELinux
37319b
#
37319b
37319b
#
37319b
# To create a new repository "http://localhost/repos/stuff" using
37319b
# this configuration, run as root:
37319b
#
37319b
#   # cd /var/www/svn
37319b
#   # svnadmin create stuff   
37319b
#   # chown -R apache:apache stuff
37319b
#   # chcon -R -t httpd_sys_content_t stuff
37319b
#
37319b
37319b
#<Location /repos>
37319b
#   DAV svn
37319b
#   SVNParentPath /var/www/svn
37319b
#
37319b
#   # Limit write permission to list of valid users.
37319b
#   <LimitExcept GET PROPFIND OPTIONS REPORT>
37319b
#      # Require SSL connection for password protection.
37319b
#      # SSLRequireSSL
37319b
#
37319b
#      AuthType Basic
37319b
#      AuthName "Authorization Realm"
37319b
#      AuthUserFile /path/to/passwdfile
37319b
#      Require valid-user
37319b
#   </LimitExcept>
37319b
#</Location>