Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I struggled with this for some time, and then eventually contacted CPanel directly. This is what I did to get it to work after some guidance from them. PS. Please ensure that SVN is already installed by calling <strong>yum install subversion</strong></p> <ol> <li>) Log in to WHM ( I have root access )</li> <li>) Go to Home -> Service Configuration -> Apache Configuration </li> <li>) Click on Include Editor</li> <li>) Jump To : Pre Main Include 5) Under "I wish to edit the Pre Main configuration include file for:", select <strong>All Versions</strong></li> <li><p>) Depending on your server's individual settings and paths on your server, add the below (I use CentOS gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC))</p> <ul> <li>LoadModule dav_module /usr/lib64/httpd/modules/mod_dav.so</li> <li>LoadModule dav_svn_module /usr/lib64/httpd/modules/mod_dav_svn.so</li> <li>LoadModule authz_svn_module /usr/lib64/httpd/modules/mod_authz_svn.so</li> </ul> <p>&lt;Location /svn&gt; DAV svn SVNPath /data/svn/repos AuthType Basic AuthName "Subversion repos" AuthUserFile /data/svn/svn-auth-conf Require valid-user &lt;/Location&gt;</p></li> <li><p>) Click on Update</p></li> <li>) Restart Apache</li> </ol> <p>If Apache restarts, you should be OK. You should then be able to (based on above configuration) to access your SVN through yourdomain.com/svn. Use the <strong>htpasswd</strong> command to create your <strong>svn-auth-conf</strong> file</p> <p>One thing I am struggling with is the following error [<strong>Could not open the requested SVN filesystem</strong>] but I have a strong feeling that it has to do with folder permissions relating to apache (httpd) under /data/svn/repos. I am investigating :)</p> <p>These links also helped me <br/> <a href="http://wiki.centos.org/HowTos/Subversion" rel="nofollow">http://wiki.centos.org/HowTos/Subversion</a> <br/> <a href="http://docs.cpanel.net/twiki/bin/view/EasyApache/EasyApacheCustomDirectivesOutsideVirtualHost" rel="nofollow">http://docs.cpanel.net/twiki/bin/view/EasyApache/EasyApacheCustomDirectivesOutsideVirtualHost</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload