site Search:


 
    All Forums Hot Topics Gallery






how-to block ads


 
Search Topic:
Uniqs:
412
Share Topic
Posting?
Post a:
Post a:
Links: ·How To Get Noticed ·Web Monks FAQ ·Webhosting FAQ ·Posting Code ·How To Post ·Webhosting forum
AuthorAll Replies


blueOne
Super Mega Xtreme Adrenaline Manwich

join:2002-12-23
Alameda, CA

Need help installing SVN on my VPS

So I've been pulling my hair out for the past couple of hours trying to figure this out. I'm somewhat familiar using SVN, but never tried installing it.

Tech support at my VPS hosting company installed SVN for me, but as for configuring it, I'm on my own, since they don't support it.

So I'm able to ssh and create a SVN directory with
svnadmin create /path/to/dir
 

which creates these files/folders within the directory:
README.txt
/conf
/dav
/db
format
/hooks
/locks

I then edited the 'passwd' file within the /conf directory
[users]
username = password
 

When I try to connect with my SVN client, I get this error

PROPFIND request failed on '/files'
PROPFIND of '/files': 301 Moved Permanently (http://www.mydomain.com)
 

I looked around Googling things, but everyone seems to have a different way to do things. Also reading though subversion.tigris.org is a headache in itself.

Any help would be great!!!


GILXA1226
Premium,MVM
join:2000-12-29
London, OH

are you trying to access the svn using the apache/webdav client? Or using the inetd server?



blueOne
Super Mega Xtreme Adrenaline Manwich

join:2002-12-23
Alameda, CA

Apache/webdav at the moment.



GILXA1226
Premium,MVM
join:2000-12-29
London, OH

Have you(or the VPN admin) added the proper configuration to apache for it to be able to use webdav with svn?



blueOne
Super Mega Xtreme Adrenaline Manwich

join:2002-12-23
Alameda, CA

1 edit

Not sure what exactly is needed.. but there are some things svn related in my httpd.conf

Include "/usr/local/apache/conf/includes/svnfiles.conf"
 
LoadModule auth_passthrough_module modules/mod_auth_passthrough.so
LoadModule bwlimited_module modules/mod_bwlimited.so
LoadModule frontpage_module modules/mod_frontpage.so
LoadModule dav_svn_module     modules/mod_dav_svn.so
LoadModule authz_svn_module   modules/mod_authz_svn.so
 

What should I be looking for?


GILXA1226
Premium,MVM
join:2000-12-29
London, OH

1 edit

I'm not sure how your apache is all setup, but in gentoo I have the following to map an SVN DAV location in apache:

   <Location /apache/virtual/location >
      DAV svn
      SVNPath <<path to repository>>
      AuthType Basic
      AuthName "Respository name"
      AuthUserFile /var/svn/conf/svnusers
      Require valid-user
      SVNIndexXSLT "/svnindex.xsl"
   </Location>
 


blueOne
Super Mega Xtreme Adrenaline Manwich

join:2002-12-23
Alameda, CA

<Location /svn>
  DAV svn
  SVNPath /home/username/www/files
#  <LimitExcept GET PROPFIND OPTIONS REPORT>
#   AuthType Basic
#   AuthName "Subversion Repository"
#   AuthUserFile /etc/svn-auth-file
#   Require valid-user
#  </LimitExcept>
 </Location>
 
 

I have something similar in there. Do those #'s mean that it's commented out?


GILXA1226
Premium,MVM
join:2000-12-29
London, OH

yes


Wednesday, 30-May 17:47:44 Terms of Use & Privacy | feedback | contact | Hosting by nac.net - DSL,Hosting & Co-lo
over 12.5 years online © 1999-2012 dslreports.com.
Most commented news this week
Hot Topics