From owner-freebsd-questions Mon Oct 21 21:54:05 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA17429 for questions-outgoing; Mon, 21 Oct 1996 21:54:05 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA17424 for ; Mon, 21 Oct 1996 21:54:01 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id VAA04990; Mon, 21 Oct 1996 21:53:41 -0700 (PDT) Date: Mon, 21 Oct 1996 21:53:41 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Nadav Eiron cc: questions@FreeBSD.ORG Subject: Re: Apache won't do CGI In-Reply-To: <326A598B.41C67EA6@barcode.co.il> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Sun, 20 Oct 1996, Nadav Eiron wrote: > Hi! > > I'm running Apache 1.1.1 on two FreeBSD 2.1.5 Release mahines. One works > Just Fine, the other will not run any CGI scripts. > When I attempt to run a CGI script I get: > > /usr/local/apache/cgi-bin/test-cgi: Can't open > /usr/local/apache/cgi-bin/test-cgi > [Sun Oct 20 17:51:18 1996] access to /usr/local/apache/cgi-bin/test-cgi > failed for scully.barcode.co.il, reason: Premature end of script headers Perhaps there is some problem with your CGI script crashing before it finishes. Apache picks this up and returns the error. > Already tried reinstalling, copying the conf directory from the working > machine, fiddling with security settings etc., to no avail. Did you check permissions on the script and other files? Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major