ftp.nice.ch/pub/next/unix/network/www/wwwcount.2.3.README

This is the README for wwwcount.2.3.NIHS.bs.tar.gz [Download] [Browse] [Up]

wwwcount.2.3 compiled quad fat for NeXTSTEP by Panagiotis Velissariou.

Since I haven't see version 2.3 in the archives and since I am using it
on my NeXTstation and on SGI for quit some time now I just recompiled
it and submitted to the archives.
Compilation and installation of this program is easy (just follow the
steps below)

This is Muhammad A Muquit's Count 2.3 program, a CGI program to keep record
of the raw hits of a web page.
The official homepage of Count is moved to :
http://www.fccc.edu/users/muquit/Count.html

submitted to : ftp://next-ftp.peak.org/pub/next/submissions/wwcount.2.3.tar.gz
and probably will move to :
ftp://next-ftp.peak.org/pub/next/apps/internet/www/wwcount.2.3.tar.gz

Panagiotis Velissariou
e-mail : takis@superior.eng.ohio-state.edu
         takis@takis2.ee.net
         pvelissa@postbox.acs.ohio-state.edu
----------------------------------------------------------------------

Steps required to install the wwwcount.2.3 binaries
---------------------------------------------------

   The defaults compiled in the binary Count.cgi are :

   cgi-bin direrctory [/usr/local/etc/httpd/cgi-bin]
   Base directory [/usr/local/etc/httpd/Counter]
   Config directory [/usr/local/etc/httpd/Counter/conf]
   configuration file [sample.conf]
   Data directory [/usr/local/etc/httpd/Counter/data]
   Log directory [/usr/local/etc/httpd/Counter/Log]
   Name of the log file [sample.log]

   If you need to change any or all of the above defaults
   go to the next section "Steps required to compile and install
   wwwcount.2.3"

   Otherwise do the following to install Count.cgi and supporting
   files in your system :

1) Run :
   ./Gen-conf
   To generate the configuration file
   Please answer all the questions (straight forward) and rename the
   resulting file count.cfg to sample.conf.

2) Edit the sample.conf file to suit your needs

3) Run :
   ./Count-install
   To install the Count.cgi and all the supporting files in your
   system.

4) Edit first line the file /usr/local/etc/httpd/Counter/data/sample.dat
   such that it reads 1 instead of 0

5) Read the documentation in the docs directory of how to use
   Count.cgi in your web pages.

Steps required to compile and install wwwcount.2.3
--------------------------------------------------
1) Go to wwwcount.2.3 source directory and run :
   ./Count-config
   and answer all the questions (straight forward)

   These are the defaults I used to compile wwwcount.

   cgi-bin direrctory [/usr/local/etc/httpd/cgi-bin]
   Base directory [/usr/local/etc/httpd/Counter]
   Config directory [/usr/local/etc/httpd/Counter/conf]
   configuration file [sample.conf]
   Data directory [/usr/local/etc/httpd/Counter/data]
   Log directory [/usr/local/etc/httpd/Counter/Log]
   Name of the log file [sample.log]

2) Run :
   ./configure
   This will check your system and create the Makefiles.

3) Go end review/edit if neccessary the :
   Makefile, combine/Makefile and utils/Makefile
   files to suit your needs.
   OR use the Makefile.NeXT in each directory
   I included 
   "-O2 -pipe -arch hppa -arch i386 -arch m68k -arch sparc -no-precomp"
   in CFLAGS

4) Run :
   make
   This will create the binaries

5) Run :
   ./Gen-conf
   To generate the configuration file
   Please answer all the questions (straight forward) and rename the
   resulting file count.cfg to sample.conf or whatever name you used
   in (1) above

6) Edit the sample.conf file to suit your needs

7) Run :
   ./Count-install
   To install the Count.cgi and all the supporting files in your
   system.

8) Edit first line the file /usr/local/etc/httpd/Counter/data/sample.dat
   such that it reads 1 instead of 0

9) Read the documentation in the docs directory of how to use
   Count.cgi in your web pages.

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.