Log in

View Full Version : svn help??



VistaBoy
07-02-2009, 04:33 AM
Okay i need some help i am trying to install svn on a server (cetnos5.2)

so i done this


yum install subversion mod_dav_svn

then i edited the file /etc/httpd/conf.d/subversion.conf


LoadModule dav_svn_module modules/mod_dav_svn.so
LoadModule authz_svn_module modules/mod_authz_svn.so

<Location /svn/repo>
DAV svn
SVNPath /home/mysite/svn/repo
AuthType Basic
AuthName "Test Subversion repository"
AuthUserFile /home/mysite/svn/repo/conf/htpasswd
Require valid-user
Order allow,deny
Allow from all
</Location>


and


mkdir /home/mysite/svn/repo
cd /home/mysite/svn/repo
svnadmin create myrepo


and


service httpd restart

but when i go to the url with http it wants me to login but it just pops back up like the user info is wrong but its matchs what i got in htpasswd and when i go to the svn:// url it says it times out and or something. what em i doing wrong..

Tomm
07-02-2009, 10:30 AM
You aint even installed, configured or started the subversion server. The apache module is just a optional way of accessing your exsisting subversion server, not a method of setting one up.

VistaBoy
07-02-2009, 11:59 AM
Okay then can you point me in the right why to getting a svn server working as google seems to be of no help :(

Ryzie
08-02-2009, 11:16 AM
You aint even installed, configured or started the subversion server. The apache module is just a optional way of accessing your exsisting subversion server, not a method of setting one up.

No, he has actually set it up correctly. The problem you are facing, would be a port issue. Make sure you have it open in IpTables or your Firewall.

Want to hide these adverts? Register an account for free!