Date: Tue, 02 Sep 1997 10:28:30 +1000 From: Robert Chalmers <robert@chalmers.com.au> To: John Szumowski <harpo@javanet.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Newbie needs looking for help w/ CGI and Apache 1.2.4 Message-ID: <340B5DAD.80ECE6E2@chalmers.com.au> References: <340B4308.FF6D5DF@javanet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > <img src="/cgi-bin/count?type=default&length=5"> > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?340B5DAD.80ECE6E2>
