home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / htpa_111.zip / readme.111 < prev    next >
Text File  |  1995-07-24  |  5KB  |  148 lines

  1. HTTPAcc Version 1.11 July 24, 1995
  2. AB Software
  3. 3109 Village Rd West
  4. Norwood, MA 02062-2542
  5. awysocki@bearsoft.com
  6. Current files can always be found at:
  7.  
  8. http://www.bearsoft.com/abs/httpacc.html
  9. -----------------------------------------------------------------------------
  10. NOTE: This version uses objects from VisPro C development environment.  This
  11. is not a problem.  But I do have to say the following:
  12.  
  13. You can freely distribute any executable created with VisPro/C to anyone
  14. without restrictions or royalties.  You can distribute the ad-on objects DLLs
  15. freely provided you do wo with a license prohibiting the recipient from copying
  16. (except for backup purposes) an/or transferring the dynamic link libraries.
  17.  
  18.  
  19. SO: You can only copy the .DLL files for backup purposes!
  20. -----------------------------------------------------------------------------
  21.  
  22. If you like this program and live in the United States, feel free to
  23. send Andy $15.00 to help support the work that he does.  And for $15.00
  24. its not a bad deal.
  25.  
  26.  
  27. This is the quick and dirty setup doc for HTTPAcc
  28.  
  29. This program will allow you to reset the OS2HTTPD ACCESS.LOG file
  30. each night.  Remember that the LOG will be RESET EACH night.  The
  31. only catch is how many LOG files do you want hanging around.
  32.  
  33. Currently the unique host list is trashed at each reset.  I have no need
  34. to write these hosts out to any file.  If you need this list then let me
  35. know and I will add something in.
  36.  
  37. The first step is the install and setup.
  38.  
  39. ----------------------------------------------------------------------------
  40. INSTALL:
  41.  
  42.   Put the program in the d:\OS2HTTPD\BIN directory, along with the .DLL's.
  43. This should be the standard place to put the file.  You will then need to
  44. edit and customize the HTTPACC.INI file (Windows ASCII file)  The
  45. keywords you can specify are:
  46.  
  47. [HTTPACC]
  48. WaitTime=
  49. PauseTime=
  50. AccessLog=
  51. HTMLStats=
  52. HTMLEODStats=
  53. HTMLTitle=
  54. HTMLTime=
  55. AutoReset=
  56. ManualReset=
  57. AutoScroll=
  58. MaxLines=
  59.  
  60. WaitTime= The number of miliseconds to wait before checking the log again.
  61. This timeout will be used when there are no new lines in the ACCESS.LOG.
  62. You want to try to get this number big.  If its too small then the process
  63. will eat up lots of the CPU cycles.  The default if not specified is 5000
  64. (5 seconds)
  65.  
  66. PauseTime= The number of miliseconds to wait between read with data.
  67. If the process finds a new line in the log it will process the line, it will
  68. then wait this PauseTime between reading the next line.  The default if not
  69. specified is 100 (.1 second)
  70.  
  71. AccessLog= This is the full path and file name of the access log.  There
  72. is NO DEFAULT so this *MUST* be specified.  You should use something like,
  73. d:\os2httpd\logs\access.log
  74.  
  75. HTMLStats= This is the full path and file name of the current stats
  76. that are updated depending on HTMLTime variable. No default
  77.  
  78. HTMLEODStats= This is the full path and file name for the output HTML page
  79. that will be written when the log is reset or a new day is read. No default
  80.  
  81. HTMLTitle= This is currenly the only changable text in the output HTML page
  82. for stats. No default
  83.  
  84. HTMLTime= The number of minutes between updating the HTML stats page.
  85. If set to 0 then the page will be updated per each line in the ACCESS.LOG
  86. file. Default is 5 minutes
  87.  
  88. AutoReset= Set to Yes or No.  If set to YES then at the change of the day
  89. the ACCESS.LOG file will be reset.  The default is Yes.
  90.  
  91. ManualReset= I put this in mainly for testing, but if you want you can reset
  92. the log anytime you want.  Just set this variable to On or Off and the
  93. 'Reset Log' button will be turned On/Off.  When the button is pressed the
  94. Log will be reset and the stats will be written to the HTTPACC.LOG file.
  95. The default is Off.
  96.  
  97. AutoScroll= This will allow defaults of the AutoScroll Check box.  If you
  98. want scrolling on then set this to On/Yes.  The default is On
  99.  
  100. MaxLines= This is the number of ACCESS.LOG lines to keep on the screen in the
  101. scroll box.  The default is 200.  I have mine set at 2000.
  102.  
  103. ----------------------------------------------------------------------------
  104. OUTPUT .LOG file
  105. yymmmdd.ACC
  106. yy  = Two digit year
  107. mmm = Alpha month (Jan, Feb, Mar, Apr...)
  108. dd  = Two digit month
  109.  
  110.  
  111. ----------------------------------------------------------------------------
  112. HTTPACC.LOG
  113.  
  114. The httpacc.log file is a log file that is used to write the stats out for
  115. the day.  Currently the information included is:
  116.  
  117. mm/dd/yy hh:mm:ss:### , mm/dd/yyyy, # , #, #, #, #, #, #
  118.  
  119. Where its the Date, Time then followed by
  120. The date of the data - NOTE this can vary if you only process your log once
  121.  week
  122. HTML Requests
  123. NonHTML Requests
  124. Script Requests
  125. Malformed Requests
  126. Total Number of bytes sent.
  127. Total number of unique hosts
  128. Total number of minutes of processing
  129.  
  130.  
  131.  
  132. ---------------------------------------------------------------------------
  133. Version 1.10 - Changes
  134.   - Removed KeepLogs= variable from INI file, now all output logs will be
  135.     created using yymmmdd.ACC where yy=year, mmm=Jan, Feb..., and dd=Day 01..
  136.   - Added in Charting of accesses per hour
  137.   - Added in support for HTML stats output
  138.   - Added in support for unique hosts counts
  139.   - reformatted screen
  140.  
  141. Version 1.11 - Changes
  142.   - Fixed bug in calculations of Hourly and Minute requests on the STATS.HTML
  143.     page
  144.  
  145. -------------------
  146. --- end of file ---
  147. -------------------
  148.