Question

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.

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top