我遵循了https://help.ubuntu.com/8.04/serverguide/C/subversion.html 中的所有步骤, 但是当我尝试这样做时:
svn co https://localhost/svn
Run Code Online (Sandbox Code Playgroud)
我得到:
svn: Repository moved permanently to 'https://localhost/svn/'
Run Code Online (Sandbox Code Playgroud)
...当我这样做时:
svn co https://localhost/svn/
Run Code Online (Sandbox Code Playgroud)
我再次收到同样的错误。当我尝试:
svn co https://localhost/svn/testrepo
Run Code Online (Sandbox Code Playgroud)
我得到:
svn: Could not open the requested SVN filesystem
Run Code Online (Sandbox Code Playgroud)
在 apache 日志中,我看到:
can't open file /home/myname/testrepo/testrepo/format
Run Code Online (Sandbox Code Playgroud)
在我的 apache2.conf 中,我有:
<Location /svn>
DAV svn
SVNParentPath /home/myname/testrepo
SVNListParentPath On
AuthType Basic
AuthName "myrepo"
AuthUserFile /etc/subversion/passwd
<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
<LimitExcept>
</Location>
Run Code Online (Sandbox Code Playgroud)
我之前也尝试过使用“SVNPath”而不是“parentpath”,但没有成功。
请帮忙,我很绝望!!我尝试了所有我能想到的路径组合......