Where can we find the configuration to update the request header size in AEM dispatcher?
解決済! 解決策の投稿を見る。
表示
返信
いいね!の合計
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
表示
返信
いいね!の合計
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.
表示
返信
いいね!の合計
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
表示
返信
いいね!の合計
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>
表示
返信
いいね!の合計
Hi @saravana_sgws @sujitb74322530 ,
This change is not working in AEMAACS
Error Apache configuration uses non-allowlisted directives:LimitRequestLine
Thanks
表示
返信
いいね!の合計
Hi Himanshu,
try use LimitRequestFieldSize instead of LimitRequestLine
LimitRequestFieldSize 16384
Regards,
Sujit
表示
返信
いいね!の合計