home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
htpa_111.zip
/
readme.111
< prev
next >
Wrap
Text File
|
1995-07-24
|
5KB
|
148 lines
HTTPAcc Version 1.11 July 24, 1995
AB Software
3109 Village Rd West
Norwood, MA 02062-2542
awysocki@bearsoft.com
Current files can always be found at:
http://www.bearsoft.com/abs/httpacc.html
-----------------------------------------------------------------------------
NOTE: This version uses objects from VisPro C development environment. This
is not a problem. But I do have to say the following:
You can freely distribute any executable created with VisPro/C to anyone
without restrictions or royalties. You can distribute the ad-on objects DLLs
freely provided you do wo with a license prohibiting the recipient from copying
(except for backup purposes) an/or transferring the dynamic link libraries.
SO: You can only copy the .DLL files for backup purposes!
-----------------------------------------------------------------------------
If you like this program and live in the United States, feel free to
send Andy $15.00 to help support the work that he does. And for $15.00
its not a bad deal.
This is the quick and dirty setup doc for HTTPAcc
This program will allow you to reset the OS2HTTPD ACCESS.LOG file
each night. Remember that the LOG will be RESET EACH night. The
only catch is how many LOG files do you want hanging around.
Currently the unique host list is trashed at each reset. I have no need
to write these hosts out to any file. If you need this list then let me
know and I will add something in.
The first step is the install and setup.
----------------------------------------------------------------------------
INSTALL:
Put the program in the d:\OS2HTTPD\BIN directory, along with the .DLL's.
This should be the standard place to put the file. You will then need to
edit and customize the HTTPACC.INI file (Windows ASCII file) The
keywords you can specify are:
[HTTPACC]
WaitTime=
PauseTime=
AccessLog=
HTMLStats=
HTMLEODStats=
HTMLTitle=
HTMLTime=
AutoReset=
ManualReset=
AutoScroll=
MaxLines=
WaitTime= The number of miliseconds to wait before checking the log again.
This timeout will be used when there are no new lines in the ACCESS.LOG.
You want to try to get this number big. If its too small then the process
will eat up lots of the CPU cycles. The default if not specified is 5000
(5 seconds)
PauseTime= The number of miliseconds to wait between read with data.
If the process finds a new line in the log it will process the line, it will
then wait this PauseTime between reading the next line. The default if not
specified is 100 (.1 second)
AccessLog= This is the full path and file name of the access log. There
is NO DEFAULT so this *MUST* be specified. You should use something like,
d:\os2httpd\logs\access.log
HTMLStats= This is the full path and file name of the current stats
that are updated depending on HTMLTime variable. No default
HTMLEODStats= This is the full path and file name for the output HTML page
that will be written when the log is reset or a new day is read. No default
HTMLTitle= This is currenly the only changable text in the output HTML page
for stats. No default
HTMLTime= The number of minutes between updating the HTML stats page.
If set to 0 then the page will be updated per each line in the ACCESS.LOG
file. Default is 5 minutes
AutoReset= Set to Yes or No. If set to YES then at the change of the day
the ACCESS.LOG file will be reset. The default is Yes.
ManualReset= I put this in mainly for testing, but if you want you can reset
the log anytime you want. Just set this variable to On or Off and the
'Reset Log' button will be turned On/Off. When the button is pressed the
Log will be reset and the stats will be written to the HTTPACC.LOG file.
The default is Off.
AutoScroll= This will allow defaults of the AutoScroll Check box. If you
want scrolling on then set this to On/Yes. The default is On
MaxLines= This is the number of ACCESS.LOG lines to keep on the screen in the
scroll box. The default is 200. I have mine set at 2000.
----------------------------------------------------------------------------
OUTPUT .LOG file
yymmmdd.ACC
yy = Two digit year
mmm = Alpha month (Jan, Feb, Mar, Apr...)
dd = Two digit month
----------------------------------------------------------------------------
HTTPACC.LOG
The httpacc.log file is a log file that is used to write the stats out for
the day. Currently the information included is:
mm/dd/yy hh:mm:ss:### , mm/dd/yyyy, # , #, #, #, #, #, #
Where its the Date, Time then followed by
The date of the data - NOTE this can vary if you only process your log once
week
HTML Requests
NonHTML Requests
Script Requests
Malformed Requests
Total Number of bytes sent.
Total number of unique hosts
Total number of minutes of processing
---------------------------------------------------------------------------
Version 1.10 - Changes
- Removed KeepLogs= variable from INI file, now all output logs will be
created using yymmmdd.ACC where yy=year, mmm=Jan, Feb..., and dd=Day 01..
- Added in Charting of accesses per hour
- Added in support for HTML stats output
- Added in support for unique hosts counts
- reformatted screen
Version 1.11 - Changes
- Fixed bug in calculations of Hourly and Minute requests on the STATS.HTML
page
-------------------
--- end of file ---
-------------------