服务器发送了意外的返回值(405 不允许)。 nginx、SVN

发布于 2024-08-11 11:41:16 字数 482 浏览 1 评论 0原文

所有的问候。安装并配置了SVN,但是项目是犯错误并且不完整。服务器 nginx,客户端 - 乌龟。给出以下错误:

提交失败(详细信息如下):服务器 发送了意外的返回值(405 Not 允许)响应 PUT 请求 为了 '/repos/!svn/wrk/79c6d77f-f269-1044-bc71-05a5edf2f865/subdomain/ajax/toggleElements/js.gif'

图像日志:http://floomby.ru/content/meNBRRpAT0/

在互联网上寻求解决方案,没有明确的说法、书面内容,这与 nginx 以及 Location 结果中的所有 ubiraenie 斜杠相关还没有

如何修复bug?谢谢您的回答

All greetings. Installed and configured the SVN, but the project is to commit a mistake and not complete. Server nginx, client - tortoise. Gives the following error:

Commit failed (details follow): Server
sent unexpected return value (405 Not
Allowed) in response to PUT request
for
'/repos/!svn/wrk/79c6d77f-f269-1044-bc71-05a5edf2f865/subdomain/ajax/toggleElements/js.gif'

image log: http://floomby.ru/content/meNBRRpAT0/

Seek a solution in the internet, nothing definite is said, written, which is associated with nginx and everything ubiraenie slash in the Location outcome has not

How to fix a bug? Thank you for your answers

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

顾冷 2024-08-18 11:41:16

您的服务器位于阻止 DAV 请求的防火墙后面,Apache 设置为拒绝这些请求,或者文件 /ajax/toggleElements/js.gif 已存在于存储库中。

我敢打赌最后一个,我不能确定,但​​更新你的工作副本可能会修复错误。

Either your server is behind a firewall that is blocking DAV requests, Apache is setup to reject them or the file /ajax/toggleElements/js.gif already exists in the repository.

I would bet the last, I can't be sure but updating your working copy might fix the error.

羁客 2024-08-18 11:41:16

我认为这个问题在这里讨论:
http://forum.nginx.org/read.php?2,2414

但似乎还没有解决方案。我尝试了解决方法:

 error_page   405   = @405;
 location = @405 {
     root   ...;
 }

但后来我得到了 500 错误。

I think the problem is discussed here:
http://forum.nginx.org/read.php?2,2414

However does not seem to be a solution yet. i tried the workaround:

 error_page   405   = @405;
 location = @405 {
     root   ...;
 }

but then i got 500 error instead.

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