I just got my server from my client which will be used as development server. I was expecting to have a dedicated server where I can select what OS to install but surprisingly it is using WHM/cPanel. I am planning to install subversion and would want to be accessed via HTTP. I've installed SVN on other Linux distro but not on CentOS with cPanel.
So I tried:
$ yum install subversion mod_dav_svn
then I checked the /usr/local/apache/conf.d/subversion.conf, it has the required module calls but it is not working.
I tried to move the contents of this conf file to - /usr/local/apache/conf/httpd.conf
#####
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /repos>
DAV svn
SVNParentPath /var/www/svn
</Location>
######
Restart the httpd service and got this error
# /etc/init.d/httpd restart
httpd: Syntax error on line 352 of /usr/local/apache/conf/httpd.conf: 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
I thought it has been installed, but why does Apache can't see the module?
Hope some could help. TIA
So I tried:
$ yum install subversion mod_dav_svn
then I checked the /usr/local/apache/conf.d/subversion.conf, it has the required module calls but it is not working.
I tried to move the contents of this conf file to - /usr/local/apache/conf/httpd.conf
#####
LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so
<Location /repos>
DAV svn
SVNParentPath /var/www/svn
</Location>
######
Restart the httpd service and got this error
# /etc/init.d/httpd restart
httpd: Syntax error on line 352 of /usr/local/apache/conf/httpd.conf: 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
I thought it has been installed, but why does Apache can't see the module?
Hope some could help. TIA