"AH01328: Line too long" apache error after nginx reverse proxy - while works fine without proxy - Stack Overf

I spent really a lot of time googling this issue...also here on stackoverflow. But no luck!So i have 5

I spent really a lot of time googling this issue...also here on stackoverflow. But no luck!

So i have 500 internal server error when trying to run some script, that creates a big table (handles a lot of sql queries and also read from file). When i see apache error logs there are errors like:

[Tue Mar 25 05:30:28.734095 2025] [substitute:error] [pid 21648] [client xxx.yyy.zzz.aaa:41484] AH01328: Line too long, URI /stat/script.php

It happens ONLY when i visit website when it is configured with using nginx as reverse proxy ( user <-> nginx reverse proxy with ip xxx.yyy.zzz.aaa <-> web server with ip zzz.yyy.xxx.bbb).

When i configure my website without additional proxy server (user <-> web server with ip zzz.yyy.xxx.bbb) the same script in the same location works fine.

I've read a lot about mod_substitute, SubstituteMaxLineLength, LimitRequestLine, LimitRequestFieldSize...but increasing this parameters on my web server do nothing.

It works without proxy server, but does not work with it. Other pages are fine both with or without proxy. Seems that this "heavy" page really breakes some limits in chain "proxy server<->web server" or somethinge else.

What i have to check or try next to solve it?

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1744205452a4563078.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信