cvsdist 27abd71
cvsdist 27abd71
LoadModule dav_svn_module     modules/mod_dav_svn.so
cvsdist 27abd71
LoadModule authz_svn_module   modules/mod_authz_svn.so
cvsdist 27abd71
cvsdist 27abd71
#
33ea74e
# Example configuration to enable HTTP access for a directory
33ea74e
# containing Subversion repositories, "/var/www/svn".  Each repository
d0d9f73
# must be readable and writable by the 'apache' user.  Note that if
d0d9f73
# SELinux is enabled, the repositories must be labelled with a context
d0d9f73
# which httpd can write to; this will happen by default for
d0d9f73
# directories created in /var/www.  Use "restorecon -R /var/www/svn"
d0d9f73
# to label the repositories if upgrading from a previous release.
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   
33ea74e
#   # chown -R apache.apache 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>