日志:
[Tue Jan 13 17:49:53 2015] [warn] [client 127.0.0.1] mod_fcgid: HTTP request length 132391 (so far) exceeds MaxRequestLen (131072), referer: ***
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi .php
FcgidInitialEnv PHPRC "C:/web_soft/php"
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000
FcgidMaxRequestsPerProcess 1000
FcgidMaxProcesses 15
FcgidIOTimeout 120
FcgidIdleTimeout 120
FcgidWrapper "C:/web_soft/php/php-cgi.exe" .php
AddType application/x-httpd-php .php
[color=red]MaxRequestLen 5242880 [/color]
</IfModule>
[Tue Jan 13 17:49:53 2015] [warn] [client 127.0.0.1] mod_fcgid: HTTP request length 132391 (so far) exceeds MaxRequestLen (131072), referer: ***
<IfModule mod_fcgid.c>
AddHandler fcgid-script .fcgi .php
FcgidInitialEnv PHPRC "C:/web_soft/php"
FcgidInitialEnv PHP_FCGI_MAX_REQUESTS 1000
FcgidMaxRequestsPerProcess 1000
FcgidMaxProcesses 15
FcgidIOTimeout 120
FcgidIdleTimeout 120
FcgidWrapper "C:/web_soft/php/php-cgi.exe" .php
AddType application/x-httpd-php .php
[color=red]MaxRequestLen 5242880 [/color]
</IfModule>

本文记录了一次HTTP请求因长度超过预设限制而引发的警告,详细展示了配置文件中关于请求长度限制的设置,并探讨了如何调整参数以避免此类问题的发生。
401

被折叠的 条评论
为什么被折叠?



