HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   websvn and tortoisesvn issues - "Repository moved permanently" (http://www.howtoforge.com/forums/showthread.php?t=32655)

steve_mayes 20th March 2009 17:21

websvn and tortoisesvn issues - "Repository moved permanently"
 
Hi,

I followed this how-to http://www.howtoforge.com/debian_subversion_websvn and was able to carry out all the tests. From the command line I can commit, import export, etc. Browsing to http://myserver.tla/websvn looks fine and dandy and I can compare file differences and everything.

When I attempt to connect via tortoisesvn or rapidsvn I get (depending on the url) either "301 Repository Moved permanently" errors or 405 method not allowed errors.

Almost all the pages on this refer back to tigris faq question http://subversion.tigris.org/faq.html#http-301-error

This says essentially, that httpd.conf is misconfigured, that the url is unclearly defined and that apache doesn't know where to look for the resource. Now ignoring the fact that debian uses apache2.conf, I've double checked the directives:

Apache2.conf calls the following files which define various directives for locations

dav_svn.conf configures <Location svn_project_a> as /var/svn-repos/project_a and <Location svn_project_b as /var/svn-repos/project_b

/etc/apache2/conf.d/websvn creates an Alias /websvn /usr/share/websvn, then gives a Directory directive for it.

sites-enabled/000-default defines 1 virtual host. The document root is set to /var/www and then the default directories are defined and configured (all default - /, /var/www, /cgi-bin, etc).

I've turned logging up to debug level but that is telling me little beyond the error messages I get from tortoisesvn. I've also installed Rapidsvn (in case it was a tortiose issue - it wasnt)

Pointers as to what the issue is, or how I can extract meaningful data would be deeply appreciated.

Steve

falko 21st March 2009 21:56

Quote:

Originally Posted by steve_mayes (Post 176347)
dav_svn.conf configures <Location svn_project_a> as /var/svn-repos/project_a and <Location svn_project_b as /var/svn-repos/project_b

So you created two repos?

What URL are you using in TortoiseSVN?

steve_mayes 22nd March 2009 21:03

URLs used
 
I've used several

http://servername/websvn
http://servername/websvn/

both of which return a 301 Repository moved response

and

http://servername/websvn/svn_project_a
http://servername/websvn/svn_project_a/
http://servername/websvn/svn_project_b
http://servername/websvn/svn_project_b/

which return a 405 Method not allowed response

falko 23rd March 2009 19:42

Are there any errors in the Apache error log?


All times are GMT +2. The time now is 15:38.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.