Carlos Chavez wrote:
> I did a test on my system. I used the main name and then set up a
> CNAME on the DNS. I only have one IP address on the computer. When I
> request the HTTPS page with the main name it gives me the default redhat
> page. When I request the HTTPS of the CNAME it goes to a separate page I
> setup on a different directory.
This is not name-based virtual hosting. What is happening here is that
the server is distinguishing between plain HTTP on port 80 and SSL on
port 443. It is using the port numbers to identify the virtual-hosts. So
this is like port-based virtual hosting. This is perfectly normal and is
the simplest way to run an HTTP/SSL server.
Name-based virtual hosting is when you have two or more virtual-hosts
sharing the same IP address and the same port. This can work for plain
HTTP on port 80 (or whatever) but CANNOT work at all with SSL - you can
only ever have ONE SSL virtual host on any given port.
Rgds,
Owen Boyle.
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]