Home > Backend Development > PHP Tutorial > Apache网页Bad Request,Cookie长度设立

Apache网页Bad Request,Cookie长度设立

WBOY
Release: 2016-06-13 11:26:43
Original
858 people have browsed it

Apache网页Bad Request,Cookie长度设置
在测试一个网页的时候,当数量达到一定值的时候,网页报错,提示如下:
Bad Request
 
Your browser sent a request that this server could not understand.
 Size of a request header field exceeds server limit.
 
随后是一段很长的cookie.

我查阅资料后,提示说可能Apache服务器cookie字节限制,于是我修改了Apache的配置,如下:
LimitRequestFields 40940
LimitRequestBody 40940
LimitRequestFieldSize 40940
LimitRequestLine 40940

可惜测试之后,仍然报错,请各位大大帮帮忙,看是否有解决方案,谢谢!

Apache Cookie 服务器 php
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template