You could use mod_rewrite to proxy rewrite all incoming requests to the
other system. Every request that came in and matched the rewrite rule
would be redirected and proxied to the system specified in the rule.
mod_rewrite can be more than a little daunting but it could handle this
scenario.
Ow Mun Heng said the following:
I'm sure this can be done.
I know about mod_proxy and mod_proxy_html and it's functions as a
reverse proxy. But the thing is my current understanding of these
mod_proxy is it's suitable only for servers which are in the internal
network and has names such as
www.example.com -> external IP
internalserver.example.com -> NAT IP
external -> internalserver
www.example.com/internalserver (using mod_proxy and mod_proxy_html)
what if the NAT IP'ed server has it's own DNS? say www.example2.com.
Can apache still be used to get to it? using Mod_proxy?
I'm just trying to figure out if this is a valid scenerio.
--
[email protected] mailing list