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.
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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.