Size of a request header field exceeds server limit
Increase the value for #LimitRequestFieldSize
and #LimitRequestLine
for AMS/On-Premises versions. Increase the Request Header limit by also adding those properties in the Vhost files for AEMaaCS.
Description
Environment
- Adobe Experience Manager (AEM)
- Adobe Experience Manager as a Cloud Service (AEMaaCS)
Issue/Symptoms
When opening a page, users receive a Bad Request response with the following message:
“Size of a request header field exceeds server limit”
Resolution
Apache has a default LimitRequestLine
of 8K. For more information, consult Apache’s Core Features: LimitRequestLine Directive on the Apache website.
This error can be overcome by increasing the value for #LimitRequestFieldSize
and #LimitRequestLine
.
For AMS/ On-Prem:
The header limit can be increased in Apache configuration file - httpd.conf
.
For AEMaaCS:
Increase the Request Header limit by adding the above properties in the Vhost files:
// Allow longer headers
LimitRequestFieldSize <new_value>
LimitRequestLine <new_value>