`
eimhee
  • 浏览: 2116195 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

在Ubuntu修复 “HTTP request length 134926 (so far) exceeds MaxRequestLen” 错误

阅读更多

If you get a 500 error in a webpage hosted on Debian Linux (6.0) with apache webserver and fastcgi, take a look into the apache error.log file. This can either be the global error.log or the error.log of the website where you got the error. If you find a error similar to this one:

[Fri Apr 10 15:18:05 2012] [warn] [client 192.168.0.55] mod_fcgid: HTTP request length 134926 (so far) exceeds MaxRequestLen (131072), referer: http://www.example.tld/administrator/index.php?option=com_installer

then the MaxRequestLen setting of mod_fccgid is too low. To fix that, edit the file /etc/apache2/mods-available/fcgid.conf

vi /etc/apache2/mods-available/fcgid.conf

and add or edit the line “MaxRequestLen 15728640″ to set the Request Limit to 15MB. The resulting file should contain these settings:

AddHandler fcgid-script .fcgi
FcgidConnectTimeout 20
MaxRequestLen 15728640

 

 

Save the changes and restart apache:

/etc/init.d/apache2 restart

Be Sociable, Share!
分享到:
评论

相关推荐

    PHP fastcgi模式上传大文件(大约有300多K)报错

    mod_fcgid: HTTP request length 132296 (so far) exceeds MaxRequestLen (131072) 查了下资料,发现fastcgi默认的请求大小为131072,于是在apache配置中添加了MaxRequestLen 配置就好了。如果你只需要修改单个虚拟...

    Apache Request-URI Too Large错误解决方法

    The requested URL’s length exceeds the capacity limit for this server.关于上面说的这个 Request-URI Too Large 问题,原因如下: apache的这错误是URL的长度超出了限制。URL的长度限制受浏览器和服务器的影响...

    PHP 文件上传限制问题

    Warning: POST Content-Length of 9663102 bytes exceeds the limit of 8388608 bytes in Unknown on line 0 $_FILES[‘file’][‘error’]==1 nginx错误:413 Request Entiry Too Large client_max_b

    《5 Practical React Projects》- 2017 英文原版

    This book is a collection of in-depth tutorials, that will guide you through some fun and practical projects. Along the way, you’ll pick up lots of useful development tips. It contains: ...

    oracle:Heap size 3597K exceeds notification threshold

    oracle:Heap size 3597K exceeds notification threshold 解决方法

    this exceeds GitHub's file size limit of 100.00 MB

    如果你的文件超过了GitHub的文件大小限制,你可以尝试以下几种方法...

    delphi编译错误.txt

    16-Bit fixup encountered in object file ''''<text>'''' 在对象文件遇到16位修复 486/487 instructions not enabled 不能用486/487指令 Abstract methods must be virtual or dynamic 抽象方法必须为虚拟的或动态...

    AmazonRedshift数据库装载机aws-lambda-redshift-loader.zip

    aws-lambda-redshift-loader 是在 AWS Lambda 上实现的 Amazon Redshift 数据库装载机。有了 AWS Lambda 这个函数,将文件数据传入 Amazon Redshift 会变得相当容易。你只要简单地将文件推到 Amazon S3 的各个位置上...

    masm的ml.exe错误信息中文对照

    directive must be in control block 指令必须在控制段 error count exceeds 100; stopping assembly 错误数超过100,停止汇编 invalid numerical command-line argument 无效命令行参数 too many arguments 太多...

    产品定制的信息和管理系统(English)

    goods’ markets where the offer by far exceeds the demand. Companies have to struggle for gaining new customers. This major change has increased the customer’s power, which has driven companies to ...

    本java压缩程序可通过编译,但执行时却抛出异常,请高手指点!

    本java压缩程序可通过编译,但执行时却抛出异常,请高手指点!

    阿里微服务事务seata

    在application.xml中引入: Spring: cloud: alibaba: seata: tx-service-group: my_tx_group 同时数据库驱动方式需要修改: <!--seata事务管理--> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-...

    Predict whether income exceeds $50K/yr based on census data. Als

    https://archive.ics.uci.edu/ml/datasets/Adult Abstract: Predict whether income exceeds $50K/yr based on census data. Also known as "Census Income" dataset. Labels : >50K, age: continuous. ...

    解除EXCHANGE2003邮件发送限制

    Message size 11586862 exceeds size limit 10690560 of server Exchange2003 enterprise 解除邮件发送限制 附件大小 限制

    代码语法错误分析工具pclint8.0

    PClint能够帮你在程序动态测试之前发现编码错误。这样消除错误的成本更低。 使用PC-Lint在代码走读和单元测试之前进行检查,可以提前发现程序隐藏错误,提高代码质量,节省测试时间。并提供编码规则检查,规范软件...

    DELL服务器报错代码.doc

    DELL服务器错误代码 E1000 Failsafe voltage error. Contact support.(故障保护电压错误。请联络支持人员。) 查看系统事件记录以了解严重故障事件。 断开系统的交流电源 10 秒,然后重新启动系统。 如果问题仍然...

    The joint density of the maximum and its location

    Introduction It is of interest' to calculate the distribution of the value of the difference between the maximum and present values of a stock or other security along with the time of occurrence of ...

    ISA日志统计的整体方案及实施过程

    1、问题一:在追加月日志,有时访问某一网站的所有人员名单太长,会造成如下错误。 Warning: The table 'SITECLICKTOPSUM' has been created but its maximum row size (8178) exceeds the maximum number of bytes ...

    PostgreSQL数据库中的常见错误

    PostgreSQL数据库中的常见错误 operator does not exist: character = integer LOG: number of page slots needed (X) exceeds max_fsm_pages (Y)

    exceeds-expectations:https

    它与IDE自动补全功能相得益彰: 测试失败会显示清晰且有用的消息:用法首先,将超出期望作为对单元测试的依赖项添加到您的项目中: dub.sdl : configuration "unittest" { dependency "exceeds-expectations" ...

Global site tag (gtag.js) - Google Analytics