Apache错误:[文件"apache2_util.c"] [第271行] [级别3] [客户端%s] ModSecurity:%s%s [uri“%s"]%s [英] Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client %s] ModSecurity: %s%s [uri "%s"]%s

查看:186
本文介绍了Apache错误:[文件"apache2_util.c"] [第271行] [级别3] [客户端%s] ModSecurity:%s%s [uri“%s"]%s的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚将Apache Httpd 2.4.25与mod_security 2.9.1集成在一起.现在,我收到了以下错误消息:

I just integrated Apache Httpd 2.4.25 with mod_security 2.9.1. And now i got this error messages:

/*
--ba380000-H--
Message: Error reading request body: Partial results are valid but processing is incomplete
Apache-Error: [file "apache2_util.c"] [line 271] [level 3] [client %s] ModSecurity: %s%s [uri "%s"]%s
Apache-Handler: jakarta-servlet
Stopwatch: 1489655290393010 8470749 (- - -)
Stopwatch2: 1489655290393010 8470749; combined=0, p1=0, p2=0, p3=0, p4=0, p5=0, sr=0, sw=0, l=0, gc=0
Response-Body-Transformed: Dechunked
Producer: ModSecurity for Apache/2.9.1 (http://www.modsecurity.org/).
Server: Apache/2.4.25 (Win64) OpenSSL/1.0.2k mod_jk/1.2.40 mod_watch/4.3P mod_security2/2.9.1
Engine-Mode: "ENABLED"
--ba380000-Z--
*/

我不知道出什么问题了.请帮我. 谢谢.

I don't know what's problem. please help me. Thanks.

推荐答案

听起来像您正在发送大量请求正文并遇到此bug: https://github.com/SpiderLabs/ModSecurity/issues/918

Sounds like you are sending large request body amounts and are hitting this bug: https://github.com/SpiderLabs/ModSecurity/issues/918

您发送的请求量很大吗?您可以将SecRequestBodyLimit和SecRequestBodyNoFilesLimit增大到可以容纳最大请求大小的大小吗?虽然说实话,这些设置的默认值相当大(128Mb),所以除非您将这些值显式设置为更低或具有真正巨大的请求正文大小,否则我不确定您将如何达到此极限...

Are you sending very large requests? Can you increase SecRequestBodyLimit and SecRequestBodyNoFilesLimit to sizes that will incorporate your largest request size? Though to be honest the defaults for those are quite large (128Mb) so unless you've explicitly set those values to lower or have truely tremendous request body sizes I'm not sure how you'd hit this limit...

这篇关于Apache错误:[文件"apache2_util.c"] [第271行] [级别3] [客户端%s] ModSecurity:%s%s [uri“%s"]%s的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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