| Summary: | Apache 1.3.27+mod_ssl/2.8.12 segfaults if NameVirtualHosts is set without a _default_:80 VirtualHost | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Frank J.Laszlo <laszlof> |
| Component: | Individual Port(s) | Assignee: | Dirk Meyer <dinoex> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Frank J.Laszlo
2003-01-06 01:50:01 UTC
> >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 Jan 5 20:33:28 2003] [notice] child pid 80786 exit signal Segmentation 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 ? -- @BABOLO http://links.ru/ no, Listen 80 and Port 80 are both in there.. this is an issue with=20 NameVirtualHosts, I believe.. -Frank 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 Jan = 5 > > 20:33:28 2003] [notice] child pid 80786 exit signal Segmentation faul= t > > (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------ [ 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 Jan 5 > > > 20:33:28 2003] [notice] child pid 80786 exit signal Segmentation 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 ? -- @BABOLO http://links.ru/ 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------ State Changed From-To: open->closed Not a FreeSBD specific problem, not an problem for servers in production. This may be fixed by the authors of apache. |