On Wed, Aug 29, 2001 at 11:51:48AM -0700, Tim Moss scribbled...
> Jason Majors wrote:
> >I'd like to forward all requests on port 80 thru my firewall, however, I
> >use
> >VirtualHosts under apache.
> >Is there a way to forward the port with the desired host name?
> >Or can I do it based on the hostname desired? (eg forward a request to
> >www.foo.com to port 81 and a request to www.bar.com to 82).
> >
> >Thanks,
> >Jason
> >
> >
>
> Forwarding the port will not change the actual HTTP request which is
> what the VirtualHosts depends on. I think it should be pretty
> transparent (though I've never tried it). Are you having a problem doing
> this or are you just asking in preparation of setting it up?
>
I already did it. When I forwarded to the internal box, all requests were
served by the default html/ directory, not the virtual host matching the
url I typed.