Sander Temme wrote:

>
> On Sep 21, 2007, at 7:50 AM, [EMAIL PROTECTED] wrote:
>
>> <VirtualHost webmail.ita.org.mo>
>> Redirect / https://webmail.ita.org.mo:443
>> </VirtualHost>
>
>
> That's fine.
>
>> <VirtualHost webmail.ita.org.mo>
>
>
> On what port is this vhost listening?
>
> In one your configuration files, you probably have a 'Listen 80'. Not
> specifying a port number in the <VirtualHost> directive will (correct
> me if I'm wrong guys) cause that virtualhost to listen on all
> configured listening ports. So, you'll need:
>
> Listen 80 (you already have that)
> Listen 443
>
> <VirtualHost webmail.ita.org.mo:80>
> .. Redirect ..
> </VirtualHost>
>
> <VirtualHost webmail.ita.org.mo:443>
> ..
> SSLEngine on
> ..
> </VirtualHost>
>
> The Listen 443 causes Apache to attach to that port, the port numbers
> in the <VirtualHost> directives are there to make them match only to
> requests on that port.
>
> S.
>
Hello Sander,

So, do you means as the following ?

NameVirtualHost ip_address

Listen 80
Listen 443

<VirtualHost webmail.ita.org.mo:80>
Redirect / https://webmail.ita.org.mo:443
</VirtualHost>

<VirtualHost webmail.ita.org.mo:443>
Servername webmail.ita.org.mo:443
SSLEngine on
..
</VirtualHost>

Is it right now ?

BTW, after setup the ssl files ( self-signed SSL Certificate ), I had
enter the full domain_name...
BUT the error message :

[Fri Sep 21 23:40:04 2007] [warn] RSA server certificate is a CA
certificate (BasicConstraints: CA == TRUE !?)
[Fri Sep 21 23:40:04 2007] [warn] RSA server certificate is a CA
certificate (BasicConstraints: CA == TRUE !?)
[Fri Sep 21 23:52:36 2007] [warn] RSA server certificate is a CA
certificate (BasicConstraints: CA == TRUE !?)
[Fri Sep 21 23:52:36 2007] [warn] RSA server certificate is a CA
certificate (BasicConstraints: CA == TRUE !?)

[Fri Sep 21 23:52:36 2007] [warn] RSA server certificate is a CA
certificate (BasicConstraints: CA == TRUE !?)
[Fri Sep 21 23:52:36 2007] [warn] RSA server certificate CommonName (CN)
`localhost.localdomain' does NOT match server name!?
[Fri Sep 21 23:52:36 2007] [warn] RSA server certificate is a CA
certificate (BasicConstraints: CA == TRUE !?)
[Fri Sep 21 23:52:36 2007] [warn] RSA server certificate CommonName (CN)
`localhost.localdomain' does NOT match server name!?

Edward.

---------------------------------------------------------------------
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]

Reply via email to