Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 2003 20:00:14 -0800 (PST)
From:      Frank Laszlo <laszlof@freebsdmatrix.net>
To:        freebsd-ports@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
Message-ID:  <200301060400.h0640EFR013664@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/46792; it has been noted by GNATS.

From: Frank Laszlo <laszlof@freebsdmatrix.net>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301060400.h0640EFR013664>