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