admin管理员组文章数量:1023838
我配置了我的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
我配置了我的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
版权声明:本文标题:浏览器访问svn服务器文件,无法使用tortoise svn连接到svn,但可以通过Web浏览器连接... 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://it.en369.cn/jiaocheng/1743813837a2034260.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论