Ow Mun Heng wrote: > > Yep.. Mod_rewrite can be used for this. Didn't think of that since I was > thinking "Proxy" only. > > That being said, using mod_rewrite I can rewrite on-the-fly to the > Nat'ed address. But what if the add has a DNS entry? Say > > www.example2.com and www.example1.com both has the same external IP (say > 10.1.1.1) > > but www.example2.com is actually a NAT'ed server inside the firewall and > behind apache? What then? >
If I am understanding you correctly, vhosts should do the trick. www.example1.com would be set up like a normal vhost www.example2.com would be a vhost with just proxy directives in it: -- Michael Stewart [EMAIL PROTECTED] Gentoo Developer http://dev.gentoo.org/~vericgar GnuPG Key ID 0x08614788 available on http://pgp.mit.edu --
signature.asc
Description: OpenPGP digital signature
