I. CentOS Apache配置详解



II.Subversion on CentOS 






III. How to customize the path of svn repository? 

The URL of svn repository is like http://<server_name>/<location>/<project>. You can store the svn repository to anywhere you want. 


If the location is not defined in /etc/httpd/conf/httpd.conf, add such definition in it:
<Directory /path>
    Options FollowSymLinks
    AllowOverride None


Then change the /etc/httpd/conf.d/subversion.conf, such as:
<Location /tmp>
      DAV svn
#      SVNParentPath /var/www/svn/repos
#      AuthzSVNAccessFile /etc/svn-acl-conf
      SVNPath /tmp/svn/project
      AuthType Basic
      AuthName "Subversion repos"
      AuthUserFile /etc/svn-auth-conf
      Require valid-user

However, SVNParentPath is can not be used here and only SVNPath is supported (http://lists.freebsd.org/pipermail/freebsd-questions/2009-November/208244.html).

The <Location />...</Location> tags also can be added in /etc/httpd/conf/httpd.conf (http://stackoverflow.com/questions/673572/how-to-specify-the-repository-in-apache-dav-svn).
Command to stop SELinux:  setenforce 0