From owner-freebsd-ports Sun Jan 5 20: 0:17 2003 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 387FB37B401 for ; Sun, 5 Jan 2003 20:00:15 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BDE3043EA9 for ; Sun, 5 Jan 2003 20:00:14 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0640ENS013665 for ; Sun, 5 Jan 2003 20:00:14 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0640EFR013664; Sun, 5 Jan 2003 20:00:14 -0800 (PST) Date: Sun, 5 Jan 2003 20:00:14 -0800 (PST) Message-Id: <200301060400.h0640EFR013664@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Frank Laszlo Subject: Re: ports/46792: Apache 1.3.27+mod_ssl/2.8.12 segfaults if NameVirtualHosts is set without a _default_:80 VirtualHost Reply-To: Frank Laszlo Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/46792; it has been noted by GNATS. From: Frank Laszlo To: "."@babolo.ru Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: ports/46792: Apache 1.3.27+mod_ssl/2.8.12 segfaults if NameVirtualHosts is set without a _default_:80 VirtualHost Date: Sun, 5 Jan 2003 22:55:43 -0500 Sure, I could do that. But then the webserver would only work on port 443= =2E what im trying to say is. by enabling SSL within a VirtualHost with =20 NameVirtualHost, if you try to access your default site (defined further = up=20 the config file) it will not work, and it will segfault.. the configtest=20 should return an error if it is actually a config error. But i dont belie= ve=20 it to be so. I believe it to be a bug in Apache. On Sunday 05 January 2003 10:48 pm, "."@babolo.ru wrote: > [ Charset ISO-8859-1 unsupported, converting... ] > > > no, Listen 80 and Port 80 are both in there.. this is an issue with > > NameVirtualHosts, I believe.. > > Delete Listen 80 and Port 80 > Because of no :80 VirtualHost > > Sorry my bad English > > > On Sunday 05 January 2003 09:20 pm, "."@babolo.ru wrote: > > > > >Number: 46792 > > > > >Category: ports > > > > >Synopsis: Apache 1.3.27+mod_ssl/2.8.12 segfaults if > > > > > NameVirtualHosts is set without a _default_:80 VirtualHost > > > > > > ... > > > > > > > >Description: > > > > > > > > =09If NameVirtualHosts is uncommented with like so: > > > > =09NameVirtualHosts * > > > > =09With a _default_:443 VirtualHost and not _default_:80 and you = try to > > > > access the site via port 80. it causes a segfault like so. [Sun J= an=20 > > > > 5 20:33:28 2003] [notice] child pid 80786 exit signal Segmentatio= n > > > > fault (11) > > > > > > > > >How-To-Repeat: > > > > > > > > =09Install the apache13-modssl port and edit add a _default_:443 > > > > VirtualHost without a _default_:80 VirtualHost. > > > > > > > > >Fix: > > > > > > > > =09Make sure you have a _default_:80 VirtualHost setup in your > > > > httpd.conf > > > > > > or may be no Listen 80 and no Port 80 ? --=20 -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS/IT/MU d s: a-- C++ BU++++ P+ L- E--- W+++ N+ o- K- w-- O M+ V-- PS PE= - Y+=20 PGP++ t+ 5- X R tv+ b DI+ D++ G e h-- r++ y+ ------END GEEK CODE BLOCK------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message