mod_proxy and virtual hosts problem

Problems with the Windows version of XAMPP, questions, comments, and anything related.

mod_proxy and virtual hosts problem

Postby fulgerica » 25. January 2007 10:59

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?
fulgerica
 
Posts: 2
Joined: 25. January 2007 10:40

Postby fulgerica » 25. January 2007 21:04

problem solved


virtual hosts were defined incorrectly
fulgerica
 
Posts: 2
Joined: 25. January 2007 10:40


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 62 guests