Addressed to: [EMAIL PROTECTED]
"Pete Navarra" <[EMAIL PROTECTED]>
** Reply to note from "Pete Navarra" <[EMAIL PROTECTED]> Mon, 22 May 2000 14:50:53
-0500
>
> Hi! I need some help with using Virtual Hosts on Apache. I realize
> that this isn't really something about SSL, but I use SSL and have
> been a regular reader of this newsgroup, so I thought I would post
> this message.
>
> I'm currently using Apache 1.3.9 with mod_ssl 2.4.6. Not having any
> problems there, but I'm trying to setup Apache for Name Virual Hosts.
> I've read and reread the Apache Documentation on Virtual Hosts, and
> have been unable to get a configuration that will work for me. I have
> one IP address, but want to link different domain names to the same
> IP, but use a different set of logs, and host different websites. I
> can get IP based virtual hosting to work, but I can't for the life of
> me get Non-IP based Name Virtual Hosting to work.
There are examples here.
http://www.apache.org/docs/vhosts/examples.html
Be aware, you only get _ONE_ SSL enabled VirualHost per NameVirtualHost
block. (or per IP address) Sorry, that is just the way SSL works.
There is an explination in the FAQ on why, and we just finished a long
thread on that and the use of NameVirtualHost. I won't repeat it here,
but you can look in the archive for a recent (the last 3 days or so)
thread on: VeriSign keys.
Bottom line, one IP address - one SSL Virtual Host. You can have all
the non-SSL virtual hosts you want, but there is no way around needing
an IP address for each SSL host. (Using different ports may be a
possiblity, but I have not yet done it, and don't know anyone who has.)
If you get it to work, let us know. Also let us know how customers
respond to it. It will require a somewhat unusual URL.
Rick Widmer
http://www.developersdesk.com
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]