RE: Remote portforwarding and virtualhost
- From: "Patrick Morris" <pmorris@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 19 Jun 2006 08:16:22 -0700
I have a machine with a public IP. I want to remote
portforward one of the webserver port (80) to this machine.
The webserver is apache with 5 virualhosts. If I forward the
connection to the public IP machine, I am not able to get the
corresponding webpages from the virtualhosts. Instead I am
getting all from one virtualhost. Is there a way to
distinguish the virtualhost while forwarding. ?
There is no problem with the apache configuration as I am
getting the correct pages from the localnetwork.
ssh -g -R 8080:v1.local.com:80 publicIP
ssh -g -R 8081:v2.local.com:80 publicIP
ssh -g -R 8082:v3.local.com:80 publicIP
What kind of virtual hosts are you using?
- Follow-Ups:
- Re: Remote portforwarding and virtualhost
- From: Logu
- Re: Remote portforwarding and virtualhost
- References:
- Remote portforwarding and virtualhost
- From: Logu
- Remote portforwarding and virtualhost
- Prev by Date: Remote portforwarding and virtualhost
- Next by Date: Re: Remote portforwarding and virtualhost
- Previous by thread: Remote portforwarding and virtualhost
- Next by thread: Re: Remote portforwarding and virtualhost
- Index(es):
Relevant Pages
|