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