httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Bianchi <dav...@onlyforfun.net>
Subject Re: [users@httpd] VIRTUAL HOSTS
Date Mon, 22 Jan 2007 15:10:42 GMT
On 01/22/2007 03:59 PM, Bashiro wrote:
> What do you want to happen if someone requests
> https://domain2.myhost.com/ ?
> 
> I would like it to serve the ordinary main server.

Well... it does, the problem is that the 'ordinary main server' for 
HTTPS isn't the one for http. What you could do is to add a rewrite rule 
in the HTTPS vhost so if the requested server ain't the 'correct' one it 
get redirected to the normal plain http. But this will happen _after_ 
your client get the warning that the SSL certificate doesn't match the 
name of the server...

Davide

-- 
Windows NT source code now available... download WIN2000.BAS now!
    -- From a Slashdot.org post

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message