Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 20th March 2009, 16:21
steve_mayes steve_mayes is offline
Junior Member
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
Sponsored Links
  #2  
Old 21st March 2009, 20:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
Default

Quote:
Originally Posted by steve_mayes View Post
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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 22nd March 2009, 20:03
steve_mayes steve_mayes is offline
Junior Member
 
Join Date: Mar 2009
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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
Reply With Quote
  #4  
Old 23rd March 2009, 18:42
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,740 Times in 2,575 Posts
 
Default

Are there any errors in the Apache error log?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 21:35.


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