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条)