......And there is a way to resolve this.......
I want only realhost is reacheable via SSL on port 443.
The other vhost only via http on port 80, and when trying to connect on port
443, the browser should give me an error!!!
On Wed, 06 Sep 2000, Adrian Stovall wrote:
> Hi, what you have here is an example of one of the problems that vhosts and
> SSL can cause. when you type "https://www.aa.aa", you are saying that you
> want to connect to the server that www.aa.aa is associated with on port 443,
> so you will end up with your default SSL page for that IP.
>
> > -----Original Message-----
> > From: Giuliano Cocchi [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, September 06, 2000 9:44 AM
> > To: [EMAIL PROTECTED]
> > Subject: VHOST PROBLEM
> >
> >
> > Hi all.
> > I have problem with my apache 1.3.12 + openssl 0.9.5a + modssl 2.6.6
> > I have apache configured with many vhost on http service
> > (port 80), and now i
> > want to configure SSL for only my realhost.
> > Compilation and installation was ok.
> > I have configured name base vhost (i know the problem with name based
> > vhost and SSL) without SSL, and the realhost with SSL:
> >
> > Listen 192.168.1.2:80
> > Listen 192.168.1.2:443
> > NameVirtualHost 192.168.1.2
> >
> > <VirtualHost www.aa.aa:80>
> > vhost1
> > .....
> > .....
> > SSLEngine off
> > </VirtualHost>
> >
> > <VirtualHost www.bb.bb:80>
> > vhost2
> > .....
> > .....
> > SSLEngine off
> > </VirtualHost>
> >
> > .....
> > .....
> >
> > <VirtualHost 192.168.1.2:443>
> > realhost
> > .....
> > .....
> > SSLEngine on
> > </VirtualHost>
> >
> > All work correctly!!!
> > But if i write down into the browser https://www.aa.aa (this
> > vhost is without
> > ssl) it point directly to my realhost with ssl.
> > I need that writing https://www.aa.aa it return an error of
> > connection on port
> > 443.
> > Any hint?
> > ______________________________________________________________________
> > 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]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]