Hi All,
Having done quite lot of search and trying to installing subversion on a cpanel server seems to be very trouble.
My Enironment is;
Apache 2.2.25
PHP 5.3.27
subversion-1.8.4
The instructions I followed so far
Create the svn_custom.conf at /etc/httpd/conf/userdata/std/2/[username]/www.domainname.com with the following
TEST the custom configuration before you commit it!
/scripts/verify_vhost_includes
/scripts/ensure_vhost_includes --user=[username]
/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd
Then Easy Apache update to enable DAV
Then
WHM > Apache Setup > Include Editor > Pre-Main Include
Add the lines:
Code:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
PROBLEM: When I tried to save the configurationsit throwed an error because the above 02 modules was not found at /usr/local/apache/modules folder.
Could some one from cPanel tech confirm this installation and order for this installation or direct me with the right instrauctions because I am trying this now for weeks but could not make it to work and very frustrating.
Many Thanks
Having done quite lot of search and trying to installing subversion on a cpanel server seems to be very trouble.
My Enironment is;
Apache 2.2.25
PHP 5.3.27
subversion-1.8.4
The instructions I followed so far
Code:
mkdir -p /usr/local/src/subverison
cd /usr/local/src/subversion
wget http://subversion.tigris.org/downloa...-1.8.4.tar.bz2
tar xfj subversion-1.8.4.tar.bz2
cd subversion-1.8.4
./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.9/srclib/apr-util
make
make install
Code:
<IfModule mod_dav_svn.c>
<Location /[repos-folder]>
DAV svn
SVNPath /home/[username]/svn/[repos-name]
AuthType Basic
AuthName "[Repository Label]"
AuthUserFile /home/[username]/svn/passwd
Require valid-user
</Location>
</IfModule>
/scripts/verify_vhost_includes
/scripts/ensure_vhost_includes --user=[username]
/scripts/rebuildhttpdconf
/scripts/restartsrv_httpd
Then Easy Apache update to enable DAV
Then
WHM > Apache Setup > Include Editor > Pre-Main Include
Add the lines:
Code:
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
PROBLEM: When I tried to save the configurationsit throwed an error because the above 02 modules was not found at /usr/local/apache/modules folder.
Code:
Sorry, your changes have introduced a syntax error in pre_main_2.conf. Please correct the issue.
Error:
Configuration problem detected on line 1 of file /usr/local/apache/conf/includes/pre_main_2.conf.tmp: : Cannot load /usr/local/apache/modules/mod_dav_svn.so into server: /usr/local/apache/modules/mod_dav_svn.so: cannot open shared object file: No such file or directory --- /usr/local/apache/conf/includes/pre_main_2.conf.tmp --- 1 ===> LoadModule dav_svn_module modules/mod_dav_svn.so <=== 2LoadModule authz_svn_module modules/mod_authz_svn.so --- /usr/local/apache/conf/includes/pre_main_2.conf.tmp ---
Many Thanks