You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2011/12/01 13:52:07 UTC
DO NOT REPLY [Bug 52269] New: [mod_proxy] Apache reverse proxy
status code transparency
https://issues.apache.org/bugzilla/show_bug.cgi?id=52269
Bug #: 52269
Summary: [mod_proxy] Apache reverse proxy status code
transparency
Product: Apache httpd-2
Version: 2.2.9
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy_http
AssignedTo: bugs@httpd.apache.org
ReportedBy: worx@pouf.org
Classification: Unclassified
Created attachment 28011
--> https://issues.apache.org/bugzilla/attachment.cgi?id=28011
Txt Trace
Hi,
I have an Apache as an Reverse proxy.
Client ------ HTTPS-----> Apache + Mod_proxy ------ HTTP ----> Webserver
When the webserver send a response with HTTP status code 430, apache reverse
proxy change this status code to 500.
401, 403, 404 status code are OK !
Thanks for your help !
Worx
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 52269] [mod_proxy] Apache reverse proxy status code
transparency
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52269
--- Comment #3 from Ernst Lindoorn <el...@gmail.com> ---
Our configuration (minimal settings)
<VirtualHost *:80>
ProxyPass /custom-errors/ !
ProxyPass / http://localhost:8080/
ProxyErrorOverride On
ErrorDocument 500 /custom-errors/500.html
</VirtualHost>
If the backend server reponds with a custom error code (490 in our case) Apache
changes that into 500 and shows the custom error page instead of communicating
the error through the proxy.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 52269] [mod_proxy] Apache reverse proxy status code
transparency
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52269
--- Comment #4 from Eric Covener <co...@gmail.com> ---
(In reply to comment #3)
> Our configuration (minimal settings)
> <VirtualHost *:80>
> ProxyPass /custom-errors/ !
> ProxyPass / http://localhost:8080/
> ProxyErrorOverride On
>
> ErrorDocument 500 /custom-errors/500.html
> </VirtualHost>
>
> If the backend server reponds with a custom error code (490 in our case)
> Apache changes that into 500 and shows the custom error page instead of
> communicating the error through the proxy.
Isn't that what you asked for with ProxyErrorOverride On? It doesn't just
affect ones you've customized.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 52269] [mod_proxy] Apache reverse proxy status
code transparency
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52269
Igor Galić <i....@brainsware.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #1 from Igor Galić <i....@brainsware.org> 2011-12-02 10:24:26 UTC ---
This *should* be an easy fix.
I had a brief look at the code in trunk and it's not obvious to me that it
shouldn't work with trunk.
To many negations:
Can you please try trunk or 2.3.$latest and tell us if it works with that?
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 52269] [mod_proxy] Apache reverse proxy status code
transparency
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52269
--- Comment #5 from Ernst Lindoorn <el...@gmail.com> ---
Hmm, ok it seems I misunderstood the functionality, I didn't realise it catches
ALL error status codes.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 52269] [mod_proxy] Apache reverse proxy status code
transparency
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52269
--- Comment #2 from Ernst Lindoorn <el...@gmail.com> ---
Any update on this issue? I can reproduce it with 2.4.3.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org