Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

An SVN error (200 OK) when checking out from my online repository

I'm trying to set up my first repository on my host and am getting this error when I use TortoiseSVN to checkout the project:

Error: OPTIONS of 'http://mywebsite.com/svn/myproject': 200 OK (http://mywebsite.com)

Here is what I did:

  1. Ssh into my host and head to /home/myaccnt and 'svnadmin create svn'

  2. Create my project repository: 'svn mkdir svn/myproject'

  3. Add files to the repository: cd /home/myaccnt/.../myproject (which has /tags, /branch, /trunk); 'svn import file:///home/myaccnt/svn/myproject' (the big old list of files being added is seen at this point.)
    At this point I think that I've setup my repository and imported my project into the repository. So, I'm ready to checkout using TortoiseSVN on my Windows box. So:

  4. In the folder I'd like to checkout to, I right click and SVN Checkout, and then make sure my URL is: http://mywebsite.com/svn/myproject

Result?

Error: OPTIONS of 'http://mywebsite.com/svn/myproject': 200 OK (http://mywebsite.com)

Anyone have any thoughts for me? I'm likely missing something fundamental with the structure of my repository or htaccess... or something.

like image 752
J. LaRosee Avatar asked Jun 22 '09 03:06

J. LaRosee


People also ask

What is SVN check in check out?

svn checkout checks out (retrieves) a working copy of the repository into the specified folder. If you don't have access to the repository, and there's not already a current copy of the source in the folder, you can't possibly do a build. If there is a current copy of the source there, it should include build. xml .

How do I get rid of TortoiseSVN?

How do I uninstall TortoiseSVN? Simply uninstall from Add/Remove Programs in the Windows control panel. This does not affect your repositories or working copies at all.


1 Answers

I had to dig into this issue too and found the following pages which lead me to the solution: - http://comments.gmane.org/gmane.comp.version-control.subversion.devel/117844 (See especially the link to "Julian's patch".)

There is stated that the "OPTIONS of <url>: 200 (<url>) OK" error is quite misleading and often just means that the repository URL is wrong.

like image 195
Tilo Avatar answered Sep 25 '22 18:09

Tilo