Visual svn / tortoise svn 身份验证问题
我在名为 myserver 的 Windows Server 2008 上设置了可视化 SVN,因为我选择了 Subversion Authentication,所以它要求我创建用户名/密码。然后我创建了一个名为 myproject 的空存储库。
我还在我的开发盒 Windows 7 上安装了 tortoise svn 并尝试使用存储库浏览器访问 http://myserver:8080/svn/myproject/ 但是它总是给我同样的错误。
“'http://myserver:8080/svn/myproject/'的选项无法读取 状态行:现有连接已被远程主机关闭。 http://myserver:8080/"
我也尝试了 Windows Basic,结果相同。这里缺少什么?
另外,当我尝试浏览 http://myserver 时: 8080/svn/ 上面写着“存储库已永久移动到‘http://myserver:8080/’;请重新定位”
这是某种权限问题吗?
还有一件事 - 当我在网络浏览器上导航到“http://myserver:8080/svn/myproject/”时,它会询问我用户/password 并让我浏览文件夹。
I setup visual SVN on windows server 2008 named myserver It asked me to create a username/password since I selected Subversion Authentication. I then created an empty repository called myproject.
I also installed tortoise svn on my Dev box Windows 7 and trying to access with repository browser http://myserver:8080/svn/myproject/ however it gives me the same error all the time.
"OPTIONS of 'http://myserver:8080/svn/myproject/' Could not read
status line: An existing connection was closed by the remote host.
http://myserver:8080/"
I also tried windows basic with the same result. What's missing here?
Also when I try to browse to http://myserver:8080/svn/ it says "Repository moved permanently to 'http://myserver:8080/'; please relocate"
Is this some sort of permissions issue?
One more thing - when I navigate to 'http://myserver:8080/svn/myproject/' on my web browser it asks me for the user/password and lets me browse the folders.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我还在Windows Server 2003(ESERVER,222.200.164.202)中安装了VisualSVN,在本地Windows 7中使用TortoiseSVN。并且我也选择使用Subversion Authentication。
对于整个存储库,或者存储库调用“myproject”,请检查您的帐户是否具有访问权限。
使用 https 而不是 http。 VisualSVN 建议使用 https 而不是 http。 VisualSVN 可能会阻止访问 http 思想。
总而言之,请尝试 https。 :)
I also install VisualSVN in Windows Server 2003(ESERVER,222.200.164.202), use TortoiseSVN in local Windows 7. And I choose Using Subversion Authentication as well.
For the whole Repositories, or the repository call "myproject", check your account has the right to access.
Using https instead of http. VisualSVN suggest using https instead of http. VisualSVN may prevent access thought http.
All of All, try https plz. :)
问题是我必须在服务器绑定中指定 IP 地址。一旦我这样做了,一切都按预期进行。
The problem was I had to specify the ip address in server bindings. once i did that all worked as expected.
htpasswd(包含用户和摘要密码)
authz(组和基于路径的 ACL)
不,这是位置的配置问题。无论如何,在 VisualSVN 服务器内找到正确的存储库 URL 的最佳方法是从管理控制台中的存储库上下文菜单复制 URL
htpasswd (contain users and digestedpasswords)
authz (groups and path-based ACLs)
No, it's configuration issue for Location. Anyway, best way to find correct URL for repo inside VisualSVN server is Copy URL from repo context-menu in management console