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