Windows Server 2008 上的 TortoiseSVN - 签出时出现错误选项 200
我最近使用 TortoiseSVN 在我的一台服务器上设置了一个存储库。
我已在以下目录中创建了一个存储库:
/C:\inetpub\wwwroot\Dev
在我的本地计算机上,当我尝试从以下 URL(我将其放入存储库 URL 中)查看此存储库时,我收到以下消息。
http://the.path.tomyserver:21133/Dev/
之所以有端口号是因为它运行在虚拟实例上,访问实例需要端口标识。
我收到以下错误:
Error OPTIONS of 'http://the.path.tomyserver:21133/Dev/: 200 OK(http://the.path.tomyserver:21133)
它没有告诉我任何其他信息。
我不知道下一步该做什么。
I have recently setup a repository on one of my servers with TortoiseSVN.
I have created a repository in the following directory:
/C:\inetpub\wwwroot\Dev
On my local machine, when I try to check out this repository from the following URL, which I put in the URL of Repository, I get the following message.
http://the.path.tomyserver:21133/Dev/
The reason for the port number is because it is running on a virtual instance, and port identification is required for access to the instance.
I am getting the following error:
Error OPTIONS of 'http://the.path.tomyserver:21133/Dev/: 200 OK(http://the.path.tomyserver:21133)
It doesn't tell me anything additional.
I am lost on what to do next.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果服务器设置不正确,通常会发生这种情况。未配置 WebDAV 或位置未指向 SVN 存储库 - 无论哪种方式,对 OPTIONS 请求的 WebDAV 响应都不能是“200”。
This usually happens if the server isn't set up correctly. Either WebDAV isn't configured or the location does not point to an SVN repository - either way, the WebDAV response to an OPTIONS request must not be "200".
我能够找出问题所在,事实证明,即使我正在运行该服务,我也没有实际配置 Web 服务器来运行 Subversion。
事实证明,这是通过使用以下路径访问存储库来纠正的第一个问题:
svn://the.path.tomyserver/dev
另外,我的网络服务器未配置为允许端口 3699,这是 Subversion 默认使用的端口。
打开此端口后,我就能够成功签出我的存储库。
I was able to figure out the problem, it turns out I did not have the web server actually configured to run Subversion even though I was running the service.
This turned out to be the first problem which was corrected by accessing the repository using the following path:
svn://the.path.tomyserver/dev
Additionally, my webserver was not configured to allow port 3699 through which is the default used by Subversion.
Once I opened this port, I was able to successfully checkout my repository.