Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Sep 2000 11:27:25 -0500
From:      Steve Price <sprice@hiwaay.net>
To:        freebsd-questions@freebsd.org
Subject:   SSL apache question
Message-ID:  <20000913112725.I55208@bsd.planetwe.com>

next in thread | raw e-mail | index | archive | help
Hi all,

I can't get to the apache.org site and I have question that
is just eating me up to know the answer to.

Is it possible to have multiple SSL-enabled websites hosted
on a single box?  I'm pretty sure one can do this but I'll
be darned if I can figure out how. :/

Here's a distillation of what I believe to be the relevant
lines in my apache.conf.

NameVirtualHost 192.168.21.21
<VirtualHost 192.168.21.21:443>
 DocumentRoot /foo
 ServerName www.foo.com
</VirtualHost>
<VirtualHost 192.168.21.21:443>
 DocumentRoot /bar
 ServerName www.bar.com
</VirtualHost>

When I access https://www.foo.com/ I get foo's pages, but when
I access https://www.bar.com/ I still get foo's pages.

What am I doing wrong?

-steve


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




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