I am looking for information on which modules to use, and what documentation I should seek out on this requirement.
Currently my team maintains a very old mod_perl application. We are looking to use a new framework (rails, catalyst, etc) for new pages. Our environment is restricted such that we cannot upgrade our apache, perl, or mod_perl versions, which are old (current for redhat 5).
We are considering a setup where apache takes a request and forwards it to another port on the same machine, where our new framework will live. When the framework does not know how to handle a request (404), apache should fallback to the mod_perl app (running within apache) and return whatever it normally would (even if that is also a 404).
I thought I had seen such a system in action before, but I cannot recall. I am asking for pointers to documentation and apache module suggestions. My google searching points to mod_proxy as a likely candidate, but that does not seem to cover the fallback behavior I desire.