Hi
Many Thanks for the guidance.
I have
Apache 2.2.25
Subversion 1.8.4
PHP Version 5.3.27
I am trying to setup SVn on my server and bit confused of the order. Please correct me if the following order is wrong.
cd /home/downloads/svn
wget http://subversion.tigris.org/downloads/subversion-1.8.4.tar.gz
tar xfvz subversion-1.8.4.tar.gz
cd subversion-1.8.4
sh get-deps.sh (I cannot see this script)
cd serf
./serfmake --prefix=/usr/local/serf --with-apr=/usr/local/apache/bin install
make
make install
cd ..
./configure --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apache/bin/apr-1-config --with-apr-util=/home/cpeasyapache/src/httpd-2.2/srclib/apr-util --with-serf=/usr/local/serf/
make
make install
Create the svn_custom.conf using the new EA3 feature as described here:
cPanel - The Easy Apache Configuration System - Adding Custom Directives to httpd.conf
/etc/httpd/conf/userdata/std/2/[username]/[subdomain?].[domain]
eg: /etc/httpd/conf/userdata/std/2/contink/www.continuousink.info
.. the www is required or can be any subdomain but note the exception to wildcard sub-domains in the reference above.
DAV svn
SVNPath /home/[username]/svn/[repos-name]
AuthType Basic
AuthName "[Repository Label]"
AuthUserFile /home/[username]/svn/passwd
Require valid-user
The call helps avoid your apache falling over if there's a problem with the conf file so don't get rid of it!
TEST the custom configuration before you commit it!
/scripts/verify_vhost_includes
Assuming all is well... commit the svn_custom.conf and restart the apache server:
/scripts/ensure_vhost_includes --user=[username]
/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd
In WHM go to:
Main >> Service Configuration >> Apache Configuration
In the "Pre Main Include" select your current version
Replace:
Code:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
with:
Code:
# LoadModule dav_svn_module modules/mod_dav_svn.so
# LoadModule authz_svn_module modules/mod_authz_svn.so
(This disables the subversion repository)
You can now recompile Apache successfully (remember to select "Dav" as one of the modules to include).
Is this order right?