Where can we find the configuration to update the request header size in AEM dispatcher?
Solved! Go to Solution.
Views
Replies
Total Likes
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
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
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
Views
Replies
Total Likes
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.
Views
Replies
Total Likes
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
Views
Replies
Total Likes
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>
Views
Replies
Total Likes
Hi @saravana_sgws @sujitb74322530 ,
This change is not working in AEMAACS
Error Apache configuration uses non-allowlisted directives:LimitRequestLine
Thanks
Views
Replies
Total Likes
Hi Himanshu,
try use LimitRequestFieldSize instead of LimitRequestLine
LimitRequestFieldSize 16384
Regards,
Sujit
Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Likes
Replies