On Thu, May 17, 2018 at 10:42 AM, John Bazik <john_bazik@xxxxxxxxx> wrote: > Here's something I think I can't do with apache. > > I have a uwsgi backend server and a legacy http server. I would like a > reverse proxy that puts the dynamic site "in front of" the legacy site, > such that 404s from the former are internally redirected to the latter. > > We have this implemented in nginx, but I recently needed to switch the > proxy to apache. ErrorDocument is the obvious hook, but it has to be > a local url. I've looked at the rewrite engine and balancer groups, > and I haven't found any way to do this. I was about ready to give up > and thought I'd see if smarter people than me have an answer. > FallBackResource may be one option. Another might be the "lookahead" feature in mod_rewrite. Another is to poke and prod with -d/-f tests in mod_rewrite if you can determine that way. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx