DStats

Installation


To Use Dstats 1.0
  1. Unzip the file by using 'pkunzip dstats11.zip -d'
      -This maintains the directory structure

To log to db & Generate Server Reports Remotely
  (The log to db function currenly only works with WINHTTPD)
  1. Choose File|Update Auto Stats
     -Make sure you have specified where your cgi-win
      and Stats directories are.
  2. Place htmlrun.ini & htmlrun.exe in cgi-win directory
      -This is a vb CGI program I created previously
      -Be careful where you put it because it will run _any_ program
  3. Place htmlrun.htm somewhere on the server
  4. atosts -l does log, atosts -r does reports

For Remote Selective Stats
  1. See previous section step 1
  2. This will copy the file tsdstats.htm to your Stats Directory
  2. Access this page with your favorite Web-Browser
  3. Read prompts

The information in this HTML file can be found in the \docs
  directory of your installation of DStats.

The tables currently used are:
  1. accesses.db
      -contains all of the actual accesses with links to sites and objects
  2. sites.db
      -site name and unique site id used by accesses.db
  3. objects.db
      -object name and unique object id used by accesses.db
  4. pastttls.db
      -It keeps track of the totals generated by week.  Also used
       to decide if enough data exists to total another week's 
       data.  By removing an entry from the end of this
       list, its stats will be recalculated and its web page
       will be re-generated.  Removing an entry in the middle will
       have no affect unless you remove all of the successive entries
       as well.
  5. authuser.db
      -Authenticated user name and id used by accesses.db

The dstats.ini file currently consists of:

  [Program Settings]
  StatsPath=c:\httpd\htdocs\dstats\
    This is the location of the reports that you generate on the
    WWW server.  If you do not have a server, you can still generate
    the reports to a directory and view them with your a WWW Browser.

  LogPath=c:\httpd\logs\
    Location of the access.log file.  This is only important if you
    use the 'cycle the logfile' option - which currently only works
    with WINHTTPD.

  TempPath=c:\httpd\htdocs\dstats\temp\
    Used when generating reports for server and remote stats graph
    queries.

  CGITempPath=/dstats/temp/
    Used when generating reports for server and remote stats graph
    queries.  The difference between this one and the above is that
    this one is the same path, but relative to the root of the server
    documents directory.  The slashes must be reversed.
  
  CGI-WINPath=c:\httpd\cgi-win\
    The location of the cgi-win (backend programs) directory.  This is 
    where you can put CGI programs that your server will run.

  [Graph Settings]
  BottomTitle=Week/Day
  GraphTitle=WWW Hits
  LeftTitle=# of Hits
  RightTitle=

  [Admin Settings]
  AdminEMail=brooke-hedrick@uiowa.edu
  SMTPServer=ns-mx.uiowa.edu
  SMTPPort=25
  NotifyLog=1
  NotifyRpt=1
    The five above are only necessary if you are using the remote logging
    facility.

  SaveTime=1
    This settings determines if you want to save time or save space and
    resources when generate graphs and stats.  You will want to have this
    set to 0 (save resources and space) when you are using the remote
    querying capabilities.  

  [QueryInfo]
  SpecifyDates=1
  BDate=8/7/1995
  Filtered=0
  Filter=concompu
  EDate=8/14/1995
  SpecificFilter=0
  IncludeExclude=Exclude
    This group is controlled by dialogs and changes frequently

  [Data]
  Location=c:\data\brooke\dstats10\data\
    This is the location of your data directory for DStats.  It will 
    be assumed to be the directory you have the program in + \data
    unless you specify otherwise

[Table of Contents] [BrookeH6@AOL.COM] [Download DStats]