You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Fikret CAN <fc...@pergelcrm.com> on 2002/12/24 14:11:07 UTC

Re: [users@httpd] Apache2 + mod_ssl + ssl.conf

Thanks Erwin

It no longer gives that port error. However, when I request
https://www.domain.com it keeps waiting. I have just moved my experience
from 1.3.27 to 2.0.

On the other hand

openssl s_client -connect localhost:443 -state -debug
GET / HTTP/1.0

prints the document sucessfully.

Fikret.

----- Original Message -----
From: "Erwien Samantha Y" <ap...@cosinus.sederhana.or.id>
To: <us...@httpd.apache.org>
Sent: Tuesday, December 24, 2002 7:18 PM
Subject: Re: [users@httpd] Apache2 + mod_ssl + ssl.conf


>
> >
> >     Listen 80
> >     NameVirtualhost 62.248.109.98:80 (ip addr)
>
>
> change to
>
> Listen 80
> <IfDefine SSL>
> Listen 80
> Listen 443
> </IfDefine>
> NameVirtualHost 62.248.109.98 (without port)
>
>
>
> good luck !
>
>
> wIEn
>
>
>
>
> ---------------------------------------------------------------------
> 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


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


Re: [users@httpd] Apache2 + mod_ssl + ssl.conf

Posted by Fikret CAN <fc...@pergelcrm.com>.
Good morning,

I have solved my problem with Apache2 ssl configuration. It was plainly
related to config files.
The installed OS was RedHat 8.0 with Apache 2.
>From my point of view; Everytime when a virtual host in httpd.conf is
defined, It is necessary to define the port also (80).

-----httpd.conf ----
......
Listen 80
VirtualHostname 1.2.3.4
<VirtualHost www.dom1.com:80>
    Server name www.dom1.com:80
    ...
</VirtualHost>
<VirtualHost www.dom2.com:80>
    Server name www.dom2.com:80
    ...
</VirtualHost>
.......
--------------------end of httpd.conf ------------

--------------------ssl.conf ---------------------
Listen 443
<VirtualHost 1.2.3.4:80>
    Server name www.dom1.com:443
    SSLEngine On
    ...
</VirtualHost>
------------------end of ssl.conf --------------- ---


İyi Çalışmalar - Good workings.
Fikret CAN
Pergel Group İletişim Hizmetleri A.Ş
Akkirman Sok. No:59 80220
Nişantaşı - İstanbul
Tel: (0 212) 230 01 91 / 145
Fax: (0 212) 241 59 12


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