ENABLING THIS WILL ALLOW REGULAR USERS TO ACCESS SYSTEM FILES
First login to SSH to your server.
Create a backup of httpd.conf and all associated files.
cd /usr/local/cpanel/3rdparty/lib/php/rvlibs/rvsubversion-patch/subversion-1.4.5/subversion/libsvn_repos
Now modify hooks.c
CODE
/* START:: RVSkin */
return svn_error_createf(SVN_ERR_EXTERNAL_PROGRAM, NULL,
"Subversion Server for cPanel isnot allow %s hook", name);
/* END:: RVSkin */
I believe there are 2 lines of the above code but I'm unsure as I started this mod before I did the documentation.
chattr +i hooks.c (This prevents rvskins from updating our modified hooks.c file)
Now cd /root/rvadmin
Now run perl installsubversion.pl
It will take a couple minutes to recompile SVN but once its done you have enabled hooks in your RVskin Trac/SVN
Help
This topic is locked











