Visual svn / tortoise svn 身份验证问题

发布于 2024-12-05 22:01:12 字数 684 浏览 3 评论 0原文

我在名为 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

岁月染过的梦 2024-12-12 22:01:12

我还在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. :)

可爱咩 2024-12-12 22:01:12

问题是我必须在服务器绑定中指定 IP 地址。一旦我这样做了,一切都按预期进行。

The problem was I had to specify the ip address in server bindings. once i did that all worked as expected.

羁〃客ぐ 2024-12-12 22:01:12
  1. 对于 Subversion 身份验证(在 VisualSVN Server 中),您必须在管理控制台中创建至少 1 个用户,并为其授予适当的 repo|repos 权限
  2. 检查 repo-root 中的必备文件
    htpasswd(包含用户和摘要密码)
    authz(组和基于路径的 ACL)

当我尝试浏览到 http://myserver:8080/svn/ 时,它显示“存储库已移动”永久到“http://myserver:8080/”;请重新定位”
这是某种权限问题吗?

不,这是位置的配置问题。无论如何,在 VisualSVN 服务器内找到正确的存储库 URL 的最佳方法是从管理控制台中的存储库上下文菜单复制 URL

  1. For Subversion Authentication (in VisualSVN Server) you must create at least 1 user in Management Console and give him appropriate permissions for repo|repos
  2. Check for must-have files in repo-root
    htpasswd (contain users and digestedpasswords)
    authz (groups and path-based ACLs)

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?

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文