views:

44

answers:

2

I'm setting up an Apache+SVN server for work. I can checkout a repository, but when I run the svn list command I get the following error "OPTIONS of 'https://server': 200 OK (https://server)"

Here is my subversion.conf

 <Location /svn/>

   DAV svn
   SVNParentPath /svn/repos/
   # Require SSL connection for password protection.
   SSLRequireSSL

   AuthType Basic
   AuthName "NH SVN"
   AuthUserFile /svn/repos/users
   Require valid-user

 </Location>

If I remove the trailing / I get 403 forbidden errors when I run the same command.

A: 

How do you run svn list? You need to specify TARGET if you are not in repo dir. Try

svn list file:///svn/repos/
Pmod
I'm running it from the command line on a client machine. svn list https://serverurl/svn
Nvick
A: 

You can not list repositories. Only files IN a repository. So you need to create a repository first at /svn/repos/ using "svnadmin create". Dont forget to give apache rw-rights on the new repository

svnadmin create /svn/repos/mynewrepository
svn list https://serverurl/svn/mynewrepository

SVNParentPath means you can have multiple repositories under this path.

Christoph Strasen
Oh I forgot! For Weblisting:option SVNListParentPath On|Off"When set to On, allows a GET of SVNParentPath, which results in a listing of all repositories under that path. The default setting is Off."I am not sure this will enable svn list to get a repository list.
Christoph Strasen
That is what I was afraid of. I guess I will go back to using svnserve.
Nvick