[nycphp-talk] Virtual Hosts
Hans Zaunere
hans at nyphp.org
Mon Sep 8 16:51:03 EDT 2003
Jeff wrote:
> Thank you Chris and Jon. I think I'm almost there.
>
> This is what I have in my "hosts" file on WinXP:
>
> 192.168.1.111 unap
> 192.168.1.111 myproj
>
>
> When I run apachectl configtest it comes back with this message.
> [warn] NameVirtualHost 192.168.1.111:80 has no VirtualHosts
I'm guessing you have something like:
<VirtualHost *>
Blah blah blah
</VirtualHost>
Change it to:
<VirtualHost 192.168.1.111:80>
Blah blah blah
</VirtualHost>
making sure that the:
NameVirtualHost 192.168.1.111:80
comes first. And that "Blah blah blah" is critical :)
H
More information about the talk
mailing list