Joosttt Posted July 3, 2007 Report Share Posted July 3, 2007 Hi, I just started with Uniform Server and I just love the portability. There is just one little thing I can't get to work. And that is the Virtual host. I used virtual host before on linux so i figured this would be a breeze. But somehow apache only uses the first virtual host entry. To make is easy i'm using 'test' as alias. So my hosts file in c:\windows\system32\driver\etc contains the following line: 127.0.0.1 test on the bottom of my httpd.conf file there is the following: <VirtualHost *> DocumentRoot /www/test ServerName test</VirtualHost> I tryed restarting windows and using fresh installations, but when I paste this peace of code in my httpd.conf file apache directs everything to the test map. So both http://localhost and http://test gets me to /www/test . When i'm using more virtual hosts only the first is used. I'm stuck here and it would be great if anyone could point me in de right direction here. Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.