[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-ports
Subject:    Re: ports/46792: Apache 1.3.27+mod_ssl/2.8.12 segfaults if NameVirtualHosts is set without a _defaul
From:       Frank Laszlo <laszlof () freebsdmatrix ! net>
Date:       2003-01-06 4:00:14
[Download RAW message or body]

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 .
 what im trying to say is. by enabling SSL within a VirtualHost with  
 NameVirtualHost, if you try to access your default site (defined further  up 
 the config file) it will not work, and it will segfault.. the configtest 
 should return an error if it is actually a config error. But i dont belie ve 
 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:
 > > > >
 > > > > 	If NameVirtualHosts is uncommented with like so:
 > > > > 	NameVirtualHosts *
 > > > > 	With 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 
 > > > > 5 20:33:28 2003] [notice] child pid 80786 exit signal Segmentatio n
 > > > > fault (11)
 > > > >
 > > > > >How-To-Repeat:
 > > > >
 > > > > 	Install the apache13-modssl port and edit add a _default_:443
 > > > > VirtualHost without a _default_:80 VirtualHost.
 > > > >
 > > > > >Fix:
 > > > >
 > > > > 	Make sure you have a _default_:80 VirtualHost setup in your
 > > > > httpd.conf
 > > >
 > > > or may be no Listen 80 and no Port 80 ?

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic