Received: (qmail 20867 invoked from network); 20 Oct 1998 22:56:27 -0000 Message-Id: <362D058E.1830F4EC@pclink.com> Date: Tue, 20 Oct 1998 16:50:06 -0500 From: Gordon Pedersen To: marcs@znep.com Cc: apbugs@hyperreal.org, s.souter@edfac.usyd.edu.au, gordo@pclink.com Subject: Re: [Fwd: general/3250: Internal Error 500 - Premature end of scriptheaders *for every cgi script*] References: <362C04FD.D9BA188D@pclink.com> >Number: 3256 >Category: pending >Synopsis: Re: [Fwd: general/3250: Internal Error 500 - Premature end of scriptheaders *for every cgi script*] >Confidential: yes >Severity: serious >Priority: medium >Responsible: gnats-admin >State: closed >Class: sw-bug >Submitter-Id: unknown >Arrival-Date: Tue Oct 20 16:00:01 PDT 1998 >Last-Modified: Tue Oct 20 23:44:17 PDT 1998 >Originator: >Organization: >Release: >Environment: >Description: >How-To-Repeat: >Fix: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Tue Oct 20 23:44:17 PDT 1998 State-Changed-Why: Closing misfiled PR; please do not mangle the subject line on responses. >Unformatted: Thanks for your suggestion, Marc. Here's what works so far: I downloaded and used apache 1.3.3 (although my guess is that scenarios below hold also for 1.3.2). I can compile apache 1.3.3 either static or DSO and it will execute scripts ok. But when I add mod_perl in as DSO module during the initial build, it will not execute scripts. I got a fresh mod_perl-1.16.tar.gz from perl.apache.org today. Used these parms to configure mod_perl: #!/bin/bash # 981020 # make command for mod_perl.1.16 perl Makefile.PL \ APACHE_SRC=../apache_1.3.3/src \ DO_HTTPD=1 \ USE_APACI=1 \ PREP_HTTPD=1 \ EVERYTHING=1 I haven't tried mod_perl statically yet, nor adding it as module after building and testing apache without it. And, no, I definitely am not building with suExec. Gordon Marc Slemko wrote: > --------------------------------------------------------------- > > Subject: Re: general/3250: Internal Error 500 - Premature end of script > headers *for every cgi script* > Date: Mon, 19 Oct 1998 16:29:10 -0700 (PDT) > From: Marc Slemko > To: gordon pedersen > CC: apbugs@hyperreal.org > > On 19 Oct 1998, gordon pedersen wrote: > > > apache > > >Release: 1.3.2 > > As always, you should use the latest version when you can't make something > work. > > > >Environment: > > The output from uname -a is: > > Linux cargo.araz.com 2.0.34 #1 Fri May 8 16:05:57 EDT 1998 i486 unknown > > > > (this is a Redhat 5.1 pretty vanilla installation; apache was compiled using > > these config parms (ie, cat config.status | tail -8) > > > > ./configure \ > > "--prefix=/usr/local/apache" \ > > "--verbose" \ > > "--enable-rule=SHARED_CORE" \ > > "--enable-module=all" \ > > "--enable-shared=max" \ > > "$@" > > Are you _sure_ you are running the right copy of the binary and it is > compiled without mod_perl? Unpack a completely new tree and try just > running "configure --prefix=/usr/local/apache" without enable-shared=max > or SHARED_CORE. -- Gordon Pedersen 1412 Portland Ave info systems design Saint Paul, Minnesota gordo@pclink.com 55104, USA