Date: Wed, 20 May 1998 22:10:44 -0700 From: Josef Grosch <jgrosch@superior.mooseriver.com> To: Frank Griffith <frankg@idfw.com> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: WWWCount2.4 - Directory Headaches Message-ID: <19980520221044.A15510@mooseriver.com> In-Reply-To: <00a401bd845a$49431ca0$0200a8c0@fast1.dfw.com>; from Frank Griffith on Wed, May 20, 1998 at 08:46:33PM -0500 References: <00a401bd845a$49431ca0$0200a8c0@fast1.dfw.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, May 20, 1998 at 08:46:33PM -0500, Frank Griffith wrote: > Okay, this calls for some patience but here goes! > > I am running FreeBSD 2.2.6 on a Pentium system with > Apache Web Server 1.2.6. I have a another virtual server > with a hosting company which offered a really cool site > counter called WWWCOUNT2.4. This counter is really > great, because its super configurable and will ignore > repetitive hits from somebody with the same IP number > just refreshing their screen over and over. If anyone wants > a copy of it, let me know and I'll e-mail you a copy or > make it available on my server for you to FTP. > [ DELETED ] Yes, FreeBSD has WWWCount as a package and a port. I would suggest that you install the port. That way you are dealing with a know configuration. I have WWWCount installed on my home machine. The setup is a little tricky so I'll walk you through it . You are better off downloading a port from www.freebsd.org or pulling a copy out of the ports tarball on the CD. http://www.freebsd.org/cgi/ports.cgi?query=wwwcount&style=all click on download or in a scratch directory tar xvzf /cdrom/ports/ports.tgz ports/www/wwwcount cd to the directory with the Makefile and, as root, type make. After the make is finished the makefile will ask some questions. Answer the questions and don't work you can always either remake the program, edit the config file or rerun the config script. Do a make install. The program installs under /usr/local. The following is listing of the files as installed. ./etc/Counter ./etc/Counter/conf ./etc/Counter/conf/count.cfg <-- The config file ./etc/Counter/data ./etc/Counter/data/RealHits <-- A data file ./etc/Counter/data/sample.dat ./lib/Counter ./lib/Counter/digits ./lib/Counter/digits/A ./lib/Counter/digits/A/strip.gif ./lib/Counter/digits/B ./lib/Counter/digits/B/strip.gif ./lib/Counter/digits/C ./lib/Counter/digits/C/strip.gif ./lib/Counter/digits/D ./lib/Counter/digits/D/strip.gif ./lib/Counter/digits/D/lenna.gif ./lib/Counter/digits/E ./lib/Counter/digits/E/strip.gif ./lib/Counter/digits/mkstrip.sh ./lib/Counter/rgb.txt ./www/cgi-bin/Count.cgi <-- The program My web page uses the following cgi call <IMG SRC="/cgi-bin/Count.cgi?dd=A|df=RealHits|incr=f|md=6|pad=t" HEIGHT=32 WIDTH=102> wwwcount is sorta fussy about permisions. I have my data files as 0666 and the data directory as 0777. You should also set have ScriptAlias in /usr/local/etc/apache/srm.conf set as follows: ScriptAlias /cgi-bin /usr/local/www/cgi-bin Hope this helps Josef -- Josef Grosch | Another day closer to a | FreeBSD 2.2.7 jgrosch@MooseRiver.com | Micro$oft free world | UNIX for the masses To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980520221044.A15510>