내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
해결됨

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 채택된 해결책 개

Avatar

정확한 답변 작성자:
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

원본 게시물의 솔루션 보기

8 답변 개

Avatar

정확한 답변 작성자:
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 3

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. 

Avatar

Level 1

Hi Saravana Prakash, 

Were you able to change the LimitRequestLine  on AEMaaCS, can you please let know if you were able to resolve this and what was the solution for it.

 

Thank you!

Sujit

Avatar

Level 3

Yes, we were able to fix this by setting under  

<VirtualHost *:80>
	LimitRequestFieldSize 32768
</VirtualHost>

of our myproject.vhost file. to be safer, duplicated this setting in ALL vhost files having `<VirtualHost *:80>

Avatar

Community Advisor

Hi @saravana_sgws @sujitb74322530 ,

This change is not working in AEMAACS 

Error Apache configuration uses non-allowlisted directives:LimitRequestLine

 

 

Thanks

Himanshu Jain

Avatar

Level 1

Hi Himanshu, 

 

try use LimitRequestFieldSize instead of LimitRequestLine

LimitRequestFieldSize 16384

 

Regards,

Sujit

Avatar

Community Advisor

Hi @sujitb74322530 ,

Yes only LimitRequestFieldSize will work in AEMAACS.

 

Thanks

Himanshu Jain