Ah, here we go.
1) create a plain vanilla httpd:
   % ./configure --prefix=/tmp/apademo
   % make
   % make install
2) Append the following lines to httpd.conf:
   % cat >>/tmp/apademo/conf/httpd.conf <<_eof_
   NameVirtualHost *:80
   #NameVirtualHost *:80
   <VirtualHost *:80>
     ServerName Apache.mch.fsc.net
   </VirtualHost>
   <VirtualHost *:82>
     ServerName  pgtm0035.mch.fsc.net
   </VirtualHost>
   _eof_
3) try it:
   % src/httpd -S
   VirtualHost configuration:
   wildcard NameVirtualHosts and _default_ servers:
   *:82                   pgtm0035.mch.fsc.net (/tmp/apademo/conf/httpd.conf:955)
   *:80                   is a NameVirtualHost
                          default server Apache.mch.fsc.net 
(/tmp/apademo/conf/httpd.conf:952)
                          port 80 namevhost Apache.mch.fsc.net 
(/tmp/apademo/conf/httpd.conf:952)
4) Now uncomment the second "NameVirtualHost *:80", and retry:
   % src/httpd -S
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
   *:82                   pgtm0035.mch.fsc.net (/tmp/apademo/conf/httpd.conf:955)
   *:80                   is a NameVirtualHost
                          default server Apache.mch.fsc.net 
(/tmp/apademo/conf/httpd.conf:952)
                          port 80 namevhost Apache.mch.fsc.net 
(/tmp/apademo/conf/httpd.conf:952)
   Segmentation fault (core dumped)

That's all. But I have not the faintest why the *:82 vhost makes a difference.

   Martin

On Fri, Feb 16, 2001 at 08:58:39PM +0000, Tony Finch wrote:
> Please would you give me a VERBATIM configuration snippet that
> reproducibly demonstrates the problem when I paste it into the bottom
> of the default httpd.conf, NOT one full of ellipses and etceteras.
-- 
<[EMAIL PROTECTED]>    |       Fujitsu Siemens
       <[EMAIL PROTECTED]>              |   81730  Munich,  Germany

Reply via email to