The above instructions are not intended for each account. Everything that is placed in apache includes a server. You would like to use apache include to enable the shared object mod dav and mod authz. You probably already installed it, but there are instructions just in case. In WHM, go to Service Configuration -> Apache Configuration -> Include Editor Put this in Pre Main Include:
LoadModule dav_svn_module modules/mod_dav_svn.so LoadModule authz_svn_module modules/mod_authz_svn.so
Then you want to create a .conf file and put it in
/usr/local/apache/conf/userdata/std/2/<user account name>/svn.conf
If you want SSL to do the same in
/usr/local/apache/conf/userdata/ssl/2/<user account name>/svn.conf
If the above directories are not already present, you will need to create them.
File
will contain:
<IfModule mod_dav_svn.c> <Location /svn> DAV svn SVNPath /home/<user account>/svn AuthType Basic AuthName "My Repo" AuthUserFile /etc/svn-auth-conf Require valid-user </Location> </IfModule>
The username and password can be set using:
htpasswd -cm /etc/svn-auth-conf myusername
Then, to commit the changes to the file, do:
/scripts/ensure_vhost_includes --user=<user account> /scripts/rebuildhttpdconf /scripts/restartsrv_httpd
You should be able to browse
yourdomain.com/svn
and he will pull from
/home/<user account>/svn
source share