Page 1 of 1

mod_proxy and virtual hosts problem

PostPosted: 25. January 2007 10:59
by fulgerica
Hello, everybody!

I have the following configuration.

Behind a router I have a windows machine running the latest xampp version. I have 2 nic's, one with the ip 192.168.1.150 which represents the link to the router. The second nic has the ip 192.168.50.1 and is the link to another win server running IIS. The ip of this second machine is 192.168.50.132.

What I want to accomplish:
host 2 sites(test1.com and test2.com) on apache
host another 2 sites(test3.com and test4.com) on iis

What I have done:
I have created virtual hosts for test1 and test2 and they can be accessed without problems from the internet.
For accessing test3 and test4, i have created virtual host with proxypass. When i try to access them from the internet, the response is either test1.com, either test2.com, this depending on whichever of these sites has been loaded last.

any ideeas of what the problem might be?

can you give me a sample of httpd.conf for this particular situation?

PostPosted: 25. January 2007 21:04
by fulgerica
problem solved


virtual hosts were defined incorrectly