1.7.3 + Tomcat Apache Virtual Host NOT completely working
Posted: 12. January 2010 20:12
I have tried so many times and many different ways to get the virtual host working in Xampp 1.7.3.
In 1.7.0, there was no problem at all what so ever.
This is with Tomcat add-on installed by the way.
But in 1.7.3, I can either get apache to listen on 127.0.0.1:80 and do <virtualhost my.first.host> and <virtualhost my.second.host> and so forth.
But if I listen on *:80, all local domains (the ones that point to 127.0.0.1) it will always go to the localhost. It will just ignore the other virtualhost definition. It almost seems like there is a security setting that blocks apache from seeing the right virtualhost. However, the live domains will route the to correct virtualhost.
Again, if I use 1.7.0. There is no problem at all. I am able to listen on *:80 and have both my.local.domain and my.live.domain route to the correct virtual host. Has anyone encountered this and fix this? Thanks!
In 1.7.0, there was no problem at all what so ever.
This is with Tomcat add-on installed by the way.
But in 1.7.3, I can either get apache to listen on 127.0.0.1:80 and do <virtualhost my.first.host> and <virtualhost my.second.host> and so forth.
But if I listen on *:80, all local domains (the ones that point to 127.0.0.1) it will always go to the localhost. It will just ignore the other virtualhost definition. It almost seems like there is a security setting that blocks apache from seeing the right virtualhost. However, the live domains will route the to correct virtualhost.
Again, if I use 1.7.0. There is no problem at all. I am able to listen on *:80 and have both my.local.domain and my.live.domain route to the correct virtual host. Has anyone encountered this and fix this? Thanks!