https://bz.apache.org/bugzilla/show_bug.cgi?id=69779
Bug ID: 69779
Summary: ProxyErrorOverride not applied when using
BalancerMember h2://
Product: Apache httpd-2
Version: 2.4.62
Hardware: All
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_http2
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
When using a balancer with BalancerMember h2://... and ProxyErrorOverride On,
Apache does not replace the backend's 503 response with the configured
ErrorDocument.
Instead, the client receives the raw 503 from the backend.
httpd version:
Name : httpd
Version : 2.4.62
Release : 4.el9
Architecture: x86_64
Name : mod_http2
Version : 2.0.26
Release : 4.el9
Steps to reproduce:
<VirtualHost *:443>
ServerName test.example.com
SSLProxyEngine on
ProxyErrorOverride On
<Proxy "balancer://mycluster">
BalancerMember h2://httpco.de
BalancerMember https://httpco.de
</Proxy>
ProxyPass "/" "balancer://mycluster/"
ProxyPassReverse "/" "balancer://mycluster/"
ErrorDocument 503 "custom 503 response"
DocumentRoot "/var/www/html"
</VirtualHost>
curl -k -H "Host: test.example.com" --http2 https://127.0.0.1/503
Service Unavailable
curl -k -H "Host: test.example.com" --http2 https://127.0.0.1/503
custom 503 response
--
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]