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