最近在项目中中上传图片时,大约有300多K,结果报了个服务器错误,以前从未遇到过,错误的内容如下: mod_fcgid: www.111cn.net HTTP request length 132296 (so far) exceeds MaxRequestLen (131072) 查了下资料,发现fastcgi默认的请求大小为131072,于是在apache配置中添加了MaxRequestLen 配置就好了.如果你只需要修改单个虚拟主机的from:http://www.111cn.net/ph…