 blueOneSuper Mega Xtreme Adrenaline Manwich join:2002-12-23 Alameda, CA | Need help installing SVN on my VPSSo 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!!! |
|
 GILXA1226Premium,MVM join:2000-12-29 London, OH | are you trying to access the svn using the apache/webdav client? Or using the inetd server? |
|
 blueOneSuper Mega Xtreme Adrenaline Manwich join:2002-12-23 Alameda, CA | Apache/webdav at the moment. |
|
 GILXA1226Premium,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? |
|
 blueOneSuper 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? |
|
 GILXA1226Premium,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>
|
|
 blueOneSuper 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? |
|
|
|
 GILXA1226Premium,MVM join:2000-12-29 London, OH | yes |
|