Hello all,
I've been trying to get my vhosts working for
different sites/ports here is the config I've tried
and from what Apache.org says...it would seem that it
should work but it isn't.
Hosts file has (I'll add to dns later)
10.0.1.1 www.test.com
10.0.1.1 www.test2.com
and the listen.conf as:
NameVirtualHost 10.0.1.1:80
NameVirtualHost 10.0.1.1:81
Check out the NameVirtualHost directive.
NameVirtualHost 192.168.1.10
Listen 192.168.1.10:80
Hi John! also can be helpful to run: httpd2 -S to get the httpd to tell you what it thinks about your vhost config. -- michael ps: and look at the log files ... On Tue, 17 Feb 2004, John Doe wrote:
Hello all,
I've been trying to get my vhosts working for different sites/ports here is the config I've tried and from what Apache.org says...it would seem that it should work but it isn't.
participants (3)
-
John Doe
-
Michael Galloway
-
Ric