https://bz.apache.org/bugzilla/show_bug.cgi?id=69233
--- Comment #4 from David <[email protected]> --- Hi! Actually it is a very simple config where we only have two virtual hosts with a single ProxyPassMatch directive each, both with the responsefieldsize config value, and another proxypassmatch rule that will not match those or does not use the same target, but we've also added responsefieldsize to that one. There are no RewriteRules or similar... is there any debugging info I can use to print the value of ResponseFieldSize when it's loaded? What I did to verify this (since responsefieldsize did not seem to work) was to create a new "localhost" virtual host configuring the responsefieldsize to 20 in a ProxyPass directive, and that caused failures for any backend services I tried. Changing ProxyPass to ProxyPassMatch , requests go through without failures. This is my virtualhost: <VirtualHost *:*> ServerName http://localhost:1080 CustomLog "|/usr/sbin/rotatelogs -l -f /var/log/httpd/localaccess.%Y%m%d0000 86400" combined env=!forwarded CustomLog "|/usr/sbin/rotatelogs -l -f /var/log/httpd/localaccess.%Y%m%d0000 86400" proxy env=forwarded ErrorLog "|/usr/sbin/rotatelogs -l -f /var/log/httpd/localerrors.%Y%m%d0000 86400" #ProxyPassMatch "^/([^/]+)/?(.+)?$" https://$1-HOSTNAME/$2 responsefieldsize=20 keepalive=On disablereuse=On ProxyPass "/prefix/" "https://HOSTNAME/" responsefieldsize=20 keepalive=On disablereuse=On </VirtualHost> With the ProxyPass directive enabled, I get this error for the backend I am testing (It sends a CSP over 20 chars): Wed Jul 31 06:38:46.833680 2024] [proxy_http:warn] [pid 33291:tid 33313] (28)No space left on device: [client ::1:34578] AH10124: header size is over the limit allowed by ResponseFieldSize (20 bytes). Bad response header: 'Date: Wed[...] 31 Jul 2' If I comment the ProxyPass directive and uncomment the ProxyPassMatch one, I do get a successful response from the backend, which shows headers over 20 characters. No error logs about responsefieldsize at all. The only other "ProxyPass" directive I have in my config is: ProxyPass /healthcheck.html ! and a ProxyPassMatch for a different target which also has responsefieldsize=20 way to configure a default responsefieldsize that will apply to any hosts? -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
