我想在/ var/svn和存储库(项目)中实现一个svn-root.我可以让它在浏览器中工作(http:// domain/url给我"存储库集合")但是TortoiseClient给了我标题中提到的错误.
我通过执行以下操作(缩短)在我的ubuntu服务器上设置了一个subversion:
mkdir /var/svn
svnadmin create /var/svn/test
Run Code Online (Sandbox Code Playgroud)
我的dav_svn.conf看起来如下:
<Location /svn>
DAV svn
SVNParentPath /var/svn
SVNListParentPath On
</Location>
Run Code Online (Sandbox Code Playgroud)
我读到了可能导致问题的sym链接,所以我也会附上我的000-default网站(这是标准的btw):
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, …Run Code Online (Sandbox Code Playgroud)