The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Install & Configure Subversion - Easyapache 3 - Apache 2.4 - Subversion 1.9.8 - Php 5.6

Discussion in 'General Discussion' started by cic&whitebox, Apr 6, 2016.

  1. cic&whitebox

    cic&whitebox Registered

    Joined:
    Apr 6, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Argentina
    cPanel Access Level:
    Root Administrator
    Hi all

    I'm currently want to install Subversion 1.9 on this system:
    Easyapache 3
    Apache 2.4
    Php 5.6
    CENTOS 7.2 x86_64
    WHM 54



    I've search in a lot of forums, try to compile subversion, install from yum, almost everything, but with no luck.

    My system config now is:

    httpd -M | grep svn
    dav_svn_module (shared)
    authz_svn_module (shared)

    svn --version
    svn, version 1.9.3 (r1718519)
    compiled Apr 4 2016, 23:57:14 on x86_64-unknown-linux-gnu



    On apache config I've added the load the libraries:

    LoadModule dav_svn_module /usr/local/libexec/mod_dav_svn.so
    LoadModule authz_svn_module /usr/local/libexec/mod_authz_svn.so


    but when I try to add the location in apache config

    <Location /svn>
    DAV svn
    SVNParentPath /home/svn
    Require valid-user
    AuthName "Subversion repository"
    AuthUserFile /etc/svn-auth-users
    </Location>


    I get this error:

    Configuration problem detected on line 2 of file /usr/local/apache/conf/includes/pre_virtualhost_2.conf.tmp: Unknown DAV provider: svn --- /usr/local/apache/conf/includes/pre_virtualhost_2.conf.tmp --- 1 2 ===> DAV svn <=== 3SVNParentPath /home/whitebox/repos 4AuthType Basic 5AuthName “Whitebox - SVN Server” 6AuthUserFile /etc/svn-auth.htpasswd 7Require valid-user 8 --- /usr/local/apache/conf/includes/pre_virtualhost_2.conf.tmp --


    Could anyone give me some help

    Regards,
     
  2. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    508
    Likes Received:
    64
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi,

    Are you loading your DAV SVN configurations in the pre_virtual_host include? Check to make sure that you're loading the modules (LoadModule) before the include line.
     
Loading...

Share This Page