What i really meant is; I would like it to serve the same files as the main server. That is declare its document root as the same as the main server. But it is not the main server.
Thanks Bashiro --- On Mon 01/22, Davide Bianchi < [EMAIL PROTECTED] > wrote: From: Davide Bianchi [mailto: [EMAIL PROTECTED] To: users@httpd.apache.org, [EMAIL PROTECTED] Date: Mon, 22 Jan 2007 16:10:42 +0100 Subject: Re: [EMAIL PROTECTED] VIRTUAL HOSTS 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: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] additional commands, e-mail: [EMAIL PROTECTED] _______________________________________________ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com --------------------------------------------------------------------- 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: [EMAIL PROTECTED] " from the digest: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]