From owner-freebsd-questions Mon Sep 1 17:31:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA01628 for questions-outgoing; Mon, 1 Sep 1997 17:31:36 -0700 (PDT) Received: from mackay01.cqit.qld.edu.au (root@cqit.qld.edu.au [203.22.80.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA01620 for ; Mon, 1 Sep 1997 17:31:32 -0700 (PDT) Received: from carbon.chalmers.com.au (carbon.cqit.qld.edu.au [203.22.80.5]) by mackay01.cqit.qld.edu.au (8.7.3/8.6.9) with ESMTP id KAA16500; Tue, 2 Sep 1997 10:26:16 +1000 (EST) Message-ID: <340B5DAD.80ECE6E2@chalmers.com.au> Date: Tue, 02 Sep 1997 10:28:30 +1000 From: Robert Chalmers Reply-To: robert@chalmers.com.au Organization: chalmers.com.au X-Mailer: Mozilla 4.01 [en] (Win95; I) MIME-Version: 1.0 To: John Szumowski CC: freebsd-questions@FreeBSD.ORG Subject: Re: Newbie needs looking for help w/ CGI and Apache 1.2.4 X-Priority: 3 (Normal) References: <340B4308.FF6D5DF@javanet.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I presume you have the x execute permissions set on 'count'? Is it a Perl script ? go to cgi-bin, and type 'perl -w count' and see what it says? YOu might want to try Count2.3, from http://www.semcor.com/~muquit/Count.html for the latest and greatest. bob John Szumowski wrote: > I'm having a greater amount of difficult getting webcounter > 1.1 to work > than I had anticipated. > The directions themselves are rather...lacking, shall we > say, in user > friendliness. > When I call the counter file from my web page, a la > > the following shows up in logs/error_log: > [Mon Sep 1 18:26:14 1997] access to > /usr/local/etc/httpd/cgi-bin/count > failed > for 127.0.0.1, reason: Premature end of script headers > [Mon Sep 1 18:26:14 1997] Failed to open counter dbmfile: > counter/svrlog > [Mon Sep 1 18:26:14 1997] Failed to open counter dbmfile: > counter/dirlog > [Mon Sep 1 18:26:14 1997] Failed to open counter dbmfile: > counter/svrlog > [Mon Sep 1 18:26:14 1997] Failed to open counter dbmfile: > counter/dirlog > --- > One of my main concerns is these logs. I had to use "touch" > to create > them and nothing seems to be recorded in them. > > What am I doing wrong? Apache works fine otherwise... > > ANY thoughts would be appreciated. > Thanks, > John Szumowski -- http://www.chalmers.com.au Books-New & Secondhand Support Whirled Peas. Agents for CIBTC. Associate of Amazon.com, and Partner Program with iBS. Books about China, books from China. Sheng huo jiu shi dou zheng Business Links in Dalian, and Beijing. Building the China Trade