Apache Web服务器:AH00125:使用FallbackResource的请求超出了10个子请求的限制 [英] Apache web server: AH00125: Request exceeded the limit of 10 subrequest with FallbackResource

查看:123
本文介绍了Apache Web服务器:AH00125:使用FallbackResource的请求超出了10个子请求的限制的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在apache 2.4 Web服务器配置中使用"FallbackResource"时,它显示错误"AH00125:请求超出了10个子请求嵌套级别的限制".

When I use "FallbackResource" in my apache 2.4 web server config, it shows the error "AH00125: Request exceeded the limit of 10 subrequest nesting levels"..

请提供一些有关如何解决此问题的帮助. 指定网址" http://localhost/bv-host/plusRoot/plus/fiets ",并希望将其转发到默认的index.html:"/bv-host/plusRoot/plus/index.html"

Please some help on how to solve this. Is specify the url "http://localhost/bv-host/plusRoot/plus/fiets" and want it to be forwarded to the default index.html: "/bv-host/plusRoot/plus/index.html"

我启用了调试日志记录.模式重写已禁用.如果删除FallbackResource行,则不会看到此错误,而会看到404错误.

I enabled the debug logging. Mode-rewrite is disabled. If I remove the FallbackResource line, I don't see this error but rather an excepted 404 error.

我在Mac上安装了默认的2.4版本,并添加了以下配置:

I have a default 2.4 installation on my mac with the following config added:

FallbackResource /bv-host/plusRoot/plus/index.html;
Alias /bv-host/plusRoot "/Users/ed/Develop/Projecten/Web"

就是这样,调试日志记录片段:

That's it, the debug logging snippet:

[client ::1:57840] mod_hfs_apple: Allowing access with matching directory. filename = /Users/ed/Develop/Projecten/Web/plus/index.html;
AH00125: Request exceeded the limit of 10 subrequest nesting levels due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[client ::1:57840] AH00121: r->uri = /bv-host/plusRoot/plus/index.html;
[client ::1:57840] AH00123: subrequested from r->uri = /bv-host/plusRoot/plus/index.html;
[client ::1:57840] AH00123: subrequested from r->uri = /bv-host/plusRoot/plus/index.html;
[client ::1:57840] AH00123: subrequested from r->uri = /bv-host/plusRoot/plus/index.html;
[client ::1:57840] AH00123: subrequested from r->uri = /bv-host/plusRoot/plus/index.html;
[client ::1:57840] AH00123: subrequested from r->uri = /bv-host/plusRoot/plus/index.html;
[client ::1:57840] AH00123: subrequested from r->uri = /bv-host/plusRoot/plus/index.html;
[client ::1:57840] AH00123: subrequested from r->uri = /bv-host/plusRoot/plus/index.html;
[client ::1:57840] AH00123: subrequested from r->uri = /bv-host/plusRoot/plus/index.html;
[client ::1:57840] AH00123: subrequested from r->uri = /bv-host/plusRoot/plus/index.html;
[client ::1:57840] AH00123: subrequested from r->uri = /bv-host/plusRoot/plus/fiets

推荐答案

请注意,如果FallbackResource路径不是绝对路径,也会出现此错误.例如:

Note that you can also get this error if your FallbackResource path isn't absolute. For example:

FallbackResource index.php

将在任何第二级请求上失败:/foo/bar将失败,因为它将尝试回退到/foo/index.php.因此,您需要指定根目录:

will fail on any second level request: /foo/bar will fail because it will try to fallback to /foo/index.php. So you need to specify the root:

FallbackResource /index.php

这篇关于Apache Web服务器:AH00125:使用FallbackResource的请求超出了10个子请求的限制的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆