Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Oct 2000 11:43:34 -0500
From:      Nate Johnston <nmj3e@alumni.virginia.edu>
To:        freebsd-isp@freebsd.org
Subject:   Apache vhosts question
Message-ID:  <20001005114334.E12536@alumni.virginia.edu>

next in thread | raw e-mail | index | archive | help
I am trying to set up name-based virtual hosts on apache 1.3.12.  No matter how many
hosts I enter, apache only displays the first one in the configuration file.  For 
example:

NameVirtualHost 216.141.207.119

<VirtualHost 216.141.207.119>
    ServerName coyote.broadwing.com
    DocumentRoot /home/www/coyote.broadwing.com
</VirtualHost>

<VirtualHost 216.141.207.119>
    ServerName codesnake.com
    DocumentRoot /home/www/codesnake.com
</VirtualHost>

So when you go to codesnake.com (fictitious, I hope) I see only coyote.broadwing.com's
page.  What am I doing wrong?

Thanks for the help, in advance.

--N.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001005114334.E12536>