开发者

svn list command error 200 on an Apache+SVN server setup

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
  开发者_Go百科 Require valid-user

 </Location>

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


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜