httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: [users@httpd] configuring a proxy fallback
Date Fri, 18 May 2018 07:05:14 GMT
On Thu, May 17, 2018 at 5:07 PM, John Bazik <john_bazik@brown.edu> wrote:
>> Oh I see, I didn't realize legacy was also proxied.  Maybe
>> ProxyErrorOverride helps with one of the options?
>
> That lets me use ErrorDocument on the proxy, but it doesn't
> let me redirect the original request to the legacy site.

Doesn't ErrorDocument to a proxied path work? Something like:

ProxyErrorOverride on
ErrorDocument 404 /internal_404/
ProxyPass /internal_404/ http://legacy_site/whatever/
ProxyPassReverse /internal_404/ http://legacy_site/whatever/


Regards,
Yann.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message