我配置了我的svn存储库以通过apache访问它。
我可以通过任何带有这些地址的网络浏览器访问它。
http://svn.domain
http://www.domain:3690
但是当我尝试在Windows上使用tortoiseSVN或在linux上的命令行上检查时,第一个返回:“Unusable URI:它不引用此存储库”,第二个运行数小时并以超时错误。 (我也尝试过svn://domain做同样的事情)
我读到mod_rewrite可以用于该问题中的某些内容,但除了删除mod_rewrite之外,我没有看到任何解决该问题的方法。
但我需要mod_rewirte用于此服务器上的网站。
有什么问题?
有没有办法同时运行mod_dav_svn和mod_rewrite?
修改
虚拟主机conf文件如下所示:
DAV svn
SVNPath /path/to/repos
AuthType Basic
AuthName "Repos Name"
AuthUserFile /path/to/auth-user/file
Require valid-user
我将其添加到httpd.conf文件中:
Listen 3690
NameVirtualHost *:3690
ServerName svn.domain
DAV svn
AuthType Basic
AuthName "Repos Name"
AuthUserFile /path/to/auth-user/file
SVNPath /path/to/repos
Require valid-user