home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / wwwcnt25.zip / readme.os2 < prev   
Text File  |  2000-01-03  |  8KB  |  169 lines

  1. README for Count 2.5 for OS/2
  2. -----------------------------
  3.  
  4. Count provides a combination web page hit counter, clock, and date cgi program
  5. for your web server.  Use your favorite web browser to visit
  6. http://www.fccc.edu/users/muquit/Count.html for a complete list of features.
  7.  
  8.  
  9. Quick install :
  10.  
  11. Simply use Info-ZIP's unzip.exe 5.31 or any other equivalent unzip utility that
  12. preserves directories to extract the contents of the archive directly into your
  13. cgi-bin directory.  Edit WCOUNT\CONF\COUNT.CFG.  Visit
  14. http://www.fccc.edu/users/muquit/Count.html to learn about imbedding your new
  15. counter in your web pages.  Get around to deleting and/or moving the files
  16. README, README.OS2, EXTDGTS.EXE, MKSTRIP.EXE, and WCOUNT\DATA\SAMPLE.DAT as
  17. noted below when you feel like it.
  18.  
  19.  
  20. Normal install :
  21.  
  22. **Note** : Unlike 2.3 and 2.4 I have chosen to strip the distribution file for
  23.            2.5 down to just the bare minimum required to make use of the
  24.            counter.  As such I have removed any files from WCOUNT\DIGITS that
  25.            were not digit strips, removed the DOCS directory, and not included
  26.            the OS/2 source code changes.  None of these changes affect the
  27.            operation of the software and they allow the distribution to be less
  28.            than 25% of its previous size. The latest documentation is always
  29.            available at http://www.fccc.edu/users/muquit/Count.html
  30.  
  31. 1. Copy the executable file COUNT.EXE to your cgi-bin directory.
  32. 2. Copy the directory WCOUNT and its subdirectories to your cgi-bin directory.
  33.    You should not change the name or location of this directory.
  34. 3. Edit the small commented text file WCOUNT\CONF\COUNT.CFG as appropriate for
  35.    your site.  Use your favorite web browser to read the documentation at
  36.    http://www.fccc.edu/users/muquit/Count.html if you need help understanding
  37.    what some of the configuration options mean.
  38. 4. Add the counter to your web pages and begin using them.  Again refer to
  39.    http://www.fccc.edu/users/muquit/Count.html for complete descriptions of the
  40.    various options and numerous examples.  You should use count.exe in your
  41.    HTML files rather than count.cgi.
  42. 5. Visit Digit Mania at http://www.digitmania.holowww.com/ to download hundreds
  43.    of different typestyles for you to use with your new counter.
  44. 6. Move the executable files EXTDGTS.EXE and MKSTRIP.EXE to a convenient
  45.    location for future use.  These utilities are not required for COUNT.EXE to
  46.    operate so they should not be in your cgi-bin directory.  A good place to
  47.    put them is with any other utilities you use to maintain your web server.
  48. 7. Delete WCOUNT\DATA\SAMPLE.DAT when you are done with it.
  49.  
  50. For example:
  51.    You should have directories similar to
  52.       D:\TCPIP\WWW\CGI-BIN\wcount
  53.       D:\TCPIP\WWW\CGI-BIN\wcount\conf
  54.       D:\TCPIP\WWW\CGI-BIN\wcount\data
  55.       D:\TCPIP\WWW\CGI-BIN\wcount\digits
  56.       D:\TCPIP\WWW\CGI-BIN\wcount\logs
  57.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\A
  58.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\B
  59.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\bang
  60.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\C
  61.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\cd
  62.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\cdd
  63.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\cdr
  64.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\D
  65.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\E
  66.    and files similar to
  67.       D:\TCPIP\WWW\CGI-BIN\count.exe
  68.       D:\TCPIP\WWW\CGI-BIN\wcount\copyright
  69.       D:\TCPIP\WWW\CGI-BIN\wcount\rgb.txt
  70.       D:\TCPIP\WWW\CGI-BIN\wcount\conf\count.cfg
  71.       D:\TCPIP\WWW\CGI-BIN\wcount\data\sample.dat
  72.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\A\strip.gif
  73.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\B\strip.gif
  74.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\bang\strip.gif
  75.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\C\strip.gif
  76.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\cd\strip.gif
  77.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\cdd\strip.gif
  78.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\cdr\strip.gif
  79.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\D\strip.gif
  80.       D:\TCPIP\WWW\CGI-BIN\wcount\digits\E\strip.gif
  81.  
  82.  
  83. Upgrading from 2.3 or 2.4 :
  84.  
  85. Upgrading 2.3 or 2.4 to 2.5 is not quite seamless because the format of the
  86. WCOUNT\CONF\COUNT.CFG file is completely new in version 2.5.  As such you must
  87. completely rewrite your WCOUNT\CONF\COUNT.CFG using the new format.  The new
  88. format is much simpler than before so this should be straight forward.
  89.  
  90.  
  91. Upgrading from 2.2 :
  92.  
  93. If you have version 2.2 or earlier for OS/2 installed you should delete the
  94. old version before installing this version using the instructions above.  You
  95. can keep your old data files.  You can also keep your fonts however you must
  96. either use MKSTRIP.EXE to turn the individual digit files into a single strip,
  97. or you must modify your HTML code to include the ISTRIP=F option.  Refer to
  98. http://www.fccc.edu/users/muquit/Count.html for information about using
  99. MKSTRIP.EXE and/or ISTRIP=.
  100.  
  101.  
  102. Using the package:
  103.  
  104. Refer to http://www.fccc.edu/users/muquit/Count.htm for complete descriptions
  105. of the various options and numerous examples, plus the latest version of the
  106. documentation and other news.
  107.  
  108. Over time your WCOUNT\DATA directory will contain many data files.  You should
  109. clean this directory out regularly so that old unused counter data does not
  110. accumulate.
  111.  
  112. Read and clear out the WCOUNT\LOGS\COUNT25.LOG file regularly.
  113.  
  114. Add to your WCOUNT\DIGITS directory, and maintain an HTML page that displays
  115. all your typestyles.  I eventually resorted to writing a REXX program that
  116. indexed my collection of several hundred typestyles.
  117.  
  118.  
  119. The source code:
  120.  
  121. The executable files included were compiled using EMX 0.9d and staticly bound.
  122. They do not require that you have installed the EMX 0.9d runtime support .DLLs.
  123.  
  124. It took significantly more time to write this readme file than it did to
  125. recompile the code for OS/2.  This can hardly be called a port since there were
  126. essentially no changes required to compile the original source code for the
  127. OS/2 environment.
  128.  
  129. SRC_OS2.ZIP has been removed from the distribution of 2.5.  You will need to
  130. download the original source archive from
  131. http://www.fccc.edu/users/muquit/Count.html if you plan to build your own
  132. version of the code.  It requires nothing more than some make files to port the
  133. code, but e-mail me if you would like mine (for EMX 0.9d and NMAKE 3.06).
  134. The result is a clean compile with no changes to the original source code and
  135. a stable resulting .exe.
  136.  
  137. Before anybody asks... the WCOUNT directory is a hardcoded name because I did
  138. not want to spend the time required to add a configureable directory name to
  139. the original UNIX source code.  Ignoring the time to setup and figure out the
  140. makefiles for EMX, the entire port took only a few minutes, so I am not about
  141. to spend hours reading the source code in order to figure out and remove a
  142. minor inconvenience.  The support for a configureable directory in the 2.2
  143. release does not exist in my releases of 2.3-2.5 (and did not work properly in
  144. 2.2 for that matter).
  145.  
  146.  
  147. Compatibility and support:
  148.  
  149. I no longer run a personal web server so I am unable to personally test the
  150. code on a real server.  Versions up to 2.4 were tested on my own server (IBM
  151. Internet Connection Server 4.1 for OS/2). All versions have had very basic
  152. testing on my development machine (straight from command line). This port
  153. should work with goserve or any other OS/2 web server, but I leave it to the
  154. users and newsgroups to figure out which combinations work and which do not.
  155. In a suitable EMX or RSX environment this executable should run under a DOS web
  156. server as well if such a beast exists.
  157.  
  158. Please review http://www.fccc.edu/users/muquit/Count.html and the various
  159. appropriate newsgroups before contacting me for assistance.  When time allows
  160. I will try to respond to e-mail questions.
  161.  
  162.  
  163. Thanks,
  164. Doug Shields (dshields@direct.ca)
  165.  
  166.  
  167. Count was written by Muhammad A. Muquit (ma_muquit@fccc.edu)
  168. The OS/2 version was compiled and packaged by Doug Shields (dshields@direct.ca)
  169.