Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Size of a request header field exceeds server limit.

Avatar

Level 4

Where can we find the configuration to update the request header size in AEM dispatcher?

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @AEMnewbie ,

 

You can define the header limit in Apache config file - httpd.conf

LimitRequestLine 16384

This will increase the size to 16KB

 

Default value is 8KB

 

Please refer to below documentation

https://httpd.apache.org/docs/2.4/en/mod/core.html#limitrequestline

There are other settings available too, like LimitRequestFields, LimitRequestFieldSize. Please use them as per your requirement.

 

Thanks,

Chitra

3 Replies

Avatar

Correct answer by
Community Advisor

Hi @AEMnewbie ,

 

You can define the header limit in Apache config file - httpd.conf

LimitRequestLine 16384

This will increase the size to 16KB

 

Default value is 8KB

 

Please refer to below documentation

https://httpd.apache.org/docs/2.4/en/mod/core.html#limitrequestline

There are other settings available too, like LimitRequestFields, LimitRequestFieldSize. Please use them as per your requirement.

 

Thanks,

Chitra

Avatar

Level 1

Hi Chitra,

 

I couldn't find the LimitRequestLine in the httpd.conf file under etc/httpd/conf?

 

Please let me know where can I find the header size?

 

Thanks,

VJ

Avatar

Level 2

Has anyone faced same issue from AEMCaaS ? So, at cloud manager, we dont have httpd.conf file. I am facing same issue, but unable to resolve. I tried adding LimitRequestFieldSize 16384 to vhost, no effect. Randomly tried at many files, somehow dispatcher is not picking this config.