> Mark Lo wrote:
>
> Hi,
>
> I have configured the following virtual host with ssl enabled. But
> I got keep the error from the browser stating that The page cannot be
> displayed using internet explorer.
>
Hi Mark,
I don't know if you have missed out things in the config but there are
quite a few errors. I've marked my comments with "***":
> Port 80
> Listen 80
> Listen 443
>
> Servername www.domain.com
> DocumentRoot "/home/domain"
> <IfDefine SSL>
> Listen 443
> </IfDefine>
*** This is a bit redundant since you already Listen 443
*** Your IP addresses below don't make sense - you need 4 groups of
numbers, e.g. 192.168.22.42 then the port number (but I guess this is
just a typo).
*** If you are going to have many VHs on the same IP and Port you need
the following directive:
NameVirtualHost 192.168.22.42:80
> <VirtualHost 192.168.42:80>
> ServerName www.domain.com
> DocumentRoot "/home/domain"
> </VirtualHost>
>
> <VirtualHost 192.168.42:80>
> ServerName www.domain1.com
> DocumentRoot "/home/domain1"
> </VirtualHost>
>
> <VirtualHost 192.168.42:80>
> ServerName www.domain2.com
> DocumentRoot "/home/domain2"
> </VirtualHost>
>
> <VirtualHost 192.168.42:443>
> ServerName www.domain.com
> DocumentRoot "/home/domain"
> </VirtualHost>
*** Now in your SSL Vh you have to switch on SSL, so add the directive:
SSLEngine On
*** And give it a certificate and key e.g.
>
> When I try http://www.domain.com/index.phtml. Then the page can be
> displayed. But when I try https://www.domain.com/index.phtml. Then
> the error messages pops-up stating that "The page cannot be
> displayed". Please point me out what the error is. Thanks in
> Advance.
>
>
> Thank you so much for your help
>
> Mark Lo
--
SWX Swiss Exchange, 10 Cours de Rive, 1211 Geneve 3
--------------------------+-------------------------
Phone: +41 (0)22 849 5648 | Fax: +41 (0)22 849 5643
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]