apache访问过程中出现400错误;可能出现情况为个别浏览器访问正常
查看错误日志内容如下:原因为客户端请求头超长
查看配置文件中
LimitRequestFieldSize 200
修改这个参数大小,
LimitRequestFieldSize:Limits the size of the HTTP request header allowed from the client Syntax
查看错误日志内容如下:
- [Mon Mar 18 17:11:33 2013] [error] [client xx] request failed: error reading the headers
- [Mon Mar 18 17:11:33 2013] [error] [clientxx] request failed: error reading the headers
- [Mon Mar 18 17:11:34 2013] [error] [client x] request failed: error reading the headers
- [Mon Mar 18 17:11:36 2013] [error] [client x] request failed: error reading the headers
- [Mon Mar 18 17:11:36 2013] [error] [client x] request failed: error reading the headers
- [Mon Mar 18 17:11:36 2013] [error] [client x] request failed: error reading the headers
查看配置文件中
LimitRequestFieldSize 200
修改这个参数大小,
LimitRequestFieldSize:Limits the size of the HTTP request header allowed from the client Syntax
编辑回复