> -----Ursprüngliche Nachricht-----
> Von: Stuart Children
> Gesendet: Donnerstag, 5. April 2007 14:25
> An: dev@httpd.apache.org
> Betreff: Re: ProxyErrorOverride and redirects (PR 39245)
> 

> 
> > Looks to me like a valid usage case for ProxyErrorOverride 3xx.
> 
> I don't see how it would achieve what you stated above. If 
> you do want 
> to rewrite headers (Location or any others), the code that deals with 
> altering the response for what are considered error pages is 
> surely not 
> the place to do it.

I guess what Nick is talking about is the body of a redirect response.
A redirect response is often accompanied by a small HTML page that also
contains the redirect target as a hyperlink in the case that your client
does not understand the Location header. While ProxyPassReverse takes care
of adjusting the Location header nobody takes care of adjusting the HTML
body of the response with the wrong link. This could be fixed by an 
ErrorDocument
for 30x response codes. IMHO only in a static matter.

Regards

Rüdiger

Reply via email to