home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / srev13h.zip / RECRDALL.CNT < prev    next >
Text File  |  1997-11-14  |  3KB  |  74 lines

  1. ; This is the sample SRE-http "keep track of all allowed requests" file. 12/96
  2. ;
  3. ; This tracks instances of all requests.
  4. ; SRE-http will attempt to find a (possibly wildcarded) match
  5. ; in this file.  If none is found, SRE-http will create an entry.
  6. ;
  7. ; To use it, set the RECORD_ALL_FILE variable to point to this file,
  8. ; and set the RECORD_OPTION  parameter to YES, YES_ALL, or FILE.
  9. ;
  10. ; ---- Description of the RECORD_OPTION parameter.
  11. ;    YES:  Stores using the "request selector", with stuff after a ? stripped off
  12. ;    YES_ALL: Stores using the entire request selector (includes "options"
  13. ;          that appear after a ?)
  14. ;       Caution: this can cause this file to grow quite large (though selective
  15. ;                use of * entries can control this growth)!
  16. ;    FILE: Stores by fully qualified file name (stuff after a ? in the request 
  17. ;          selector is ignored)
  18. ;
  19. ;    For YES and YES_ALL, each entry will be a space delimited list containing:
  20. ;          host_Nickname//sel_name count  time_of_last_access
  21. ;     where host_nickname// is not used in single host setups
  22. ;        (if host_nickname is used, there should NOT be a space between
  23. ;         host_nickname// and sel_name)
  24. ;
  25. ;     For FILE,each entry will be a space delimited list containing:
  26. ;        fully_qualified_file_name count  time_of_last_access
  27. ;     note that host information is not used.
  28. ;
  29. ; ----- Match precedence and wildcarding:
  30. ;   If several entries can match the selector...
  31. ;     1) Exact matches take precedence
  32. ;     2) The wildcard match with the "longest portion before the *"
  33. ;        is used.
  34. ;     3) If a tie occurs in 2, the match with the longest portion after the
  35. ;        * is used
  36. ;     Thus, if your selector is FOOD/FRUIT/ORANGES.HTM
  37. ;     then the order (with first being chosen before last) is:
  38. ;               FOOD/FRUIT/ORANGES.HTM  (the exact match)
  39. ;               FOOD/FRUIT/*.HTM
  40. ;               FOOD/FRUIT/*
  41. ;               FOOD/*
  42. ;     (these 4 entries can appear in any order in this file, with no
  43. ;      effect on precedence).
  44. ;   Wild card examples:
  45. ;    You may wish to add (using your favorite text editor) some 
  46. ;    wildcard entries.
  47. ;    For example:
  48. ;       * 0
  49. ;            entry will match ANYTHING.
  50. ;      /TEMP/* 
  51. ;            will match anything requested from the temporary directory
  52. ;           (useful if you are generating transient files for one-time-only
  53. ;            disbursement)
  54. ;
  55. ; Notes on caching:
  56. ;   SRE-http uses a caching scheme to minimize disk writes of this
  57. ;   record all file. This does raise the possibility of loosing some
  58. ;   entries, should you "hand edit" this file (since user defined changes
  59. ;   induce a reload of this file into cache, without retention of most recent
  60. ;   changes.  Note that cache saves occur at 5 minute intervals, so you'ld
  61. ;   only loose the last 5 minutes of hits.
  62. ;
  63. ;   When saving the cache, SRE-http:
  64. ;   1) moves all comments to the top  of the file, 
  65. ;   2) writes wildcard entries, 
  66. ;   3) write then non-wildcard entries, sorted by # of hits (most popular first)
  67. ;
  68. ;      !!!! THUS -- ALL COMMENTS SHOULD BE AT THE TOP OF THE FILE  !!!!!!
  69. ;
  70. ; -------- End of comments
  71. ;* 1
  72.