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