[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ipmasqadm portfw and apache

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).


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?

Reply to: