home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / srev13h.zip / TRYMAX.CMD < prev    next >
OS/2 REXX Batch file  |  1999-07-28  |  425b  |  19 lines

  1. /* This is a very simple addon that can be used to test sre-http's
  2.   MAXUSER option. 
  3. Just
  4. a) add a 
  5.      realm: test1
  6.      rule: trymax*
  7.      option: maxuser fee=2 ; failure=maxfail.htm 44
  8.  
  9.   entry to your ATTRIBS.CFG file
  10.  
  11. b) request it as  /trymax?, and wait 10 seconds
  12.    for a simple reply */
  13.  
  14. call pmprintf(' in try max, sleep for 10 seconds ')
  15. call syssleep(10)
  16. 'string done with try max '
  17. return 0
  18.  
  19.