Sorry,
This can never occur.
SSL startup happens at the instant the TCP call comes in. This is always
before
the httpd 1.1 protocol sends the desired (virtual) server.
So separate SSL hosts must be on separate IP addresses.
Regards
John
----- Original Message -----
From: Vladimir Litovka <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, 25 September 1999 08:22
Subject: How to use mod_ssl with virtual hosts?
> Hello!
>
> Is it possible to use mod_ssl with name-based virtual hosts? I'm trying
to
> do such thing: there are many virtual hosts, but only few should use SSL.
> I make such config for Apache-1.3.9:
>
> SSLEngine off
> ... other SSL-related directives ...
>
> NameVirtualHost x.x.x.x
>
> <VirtualHost x.x.x.x>
> ServerName server.name
> ...
> </VirtualHost>
>
> ...
>
> <VirtualHost _default_:443>
> SSLEngine on
> </VirtualHost>
>
> In such configuration Apache starts, but Netscape infinitely waits for
> result of https request. If stop connect, Apache logs in ErrorLog:
>
> [client 212.109.32.15] Invalid method in request +
>
> Note, that using SSLRequireSSL in _default_ entry, Apache says:
>
> Syntax error on line 625 of /usr/local/www/conf/httpd.conf:
> SSLRequireSSL not allowed here
>
> When I'm trying to use
>
> <VirtualHost x.x.x.x:443>
> ServerName server.name
> SSLEngine on
> </VirtualHost>
>
> instead of _default_ entry, Apache logs:
>
> VirtualHost x.x.x.x:443 -- mixing * ports and non-* ports with a
> NameVirtualHost address is not supported, proceeding with undefined
> results
>
> Can anybody suggest, what I need to do for successfull results? Full
> verion of Apache is:
>
> Apache/1.3.9 (Unix) mod_ssl/2.4.2 OpenSSL/0.9.4 PHP/3.0.12 rus/PL28.19
>
> Thank you.
>
> --
> doka
>
> ______________________________________________________________________
> Apache Interface to OpenSSL (mod_ssl) www.modssl.org
> User Support Mailing List [EMAIL PROTECTED]
> Automated List Manager [EMAIL PROTECTED]
>
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]