home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / srev13h.zip / ADV_OPTS.CTL < prev    next >
Text File  |  2000-01-01  |  2KB  |  56 lines

  1. ;15 Apr 1998.
  2. ; This is a sample of an SRE-http advanced options file
  3. ;
  4. ; This line invokes a call to the adv_opts.cmd rexx procedure. This call
  5. ; occurs just prior to the "verb" processing -- after all request string
  6. ; modifications and access control privilege have been accomplished.
  7. ; It will be called for ALL honored requests (that is, it will NOT be
  8. ; called for   redirected, or unauthorized, requests).
  9. exec adv_opts.cmd This is an argument , with commas embedded.
  10. ;
  11. ; These lines are used to modify the response headers for document
  12. ; transfers using GET requests, and for HEAD requests.
  13. ;  Note:
  14. ; 1) sre-http adds several default response headers.
  15. ; 3) AUTO_HEADER parameter may cause SRE-http to parse and send
  16. ;    headers listed in the <HEAD> section of an HTML document.
  17. ; -- see the goserve.doc for details on how to use HEADER and RESPONSE directives.
  18. ;Response 200 ok
  19. header add X-The-Date-GMT: $GMT
  20. header add X-Webmaster-Name: Daniel Platypus
  21. header add X-comment:  X- headers generated by an SRE-http advanced-options file
  22. header add X-Our-server: $servername
  23. header add X-Size-1: this is $size size
  24. header add X-Code-1: this is $code code
  25. ;
  26. ; The following will suppress selected ssi's. To disable them, just 
  27. ; precede with a semi colon (a ;), or remove the line.
  28. ; Note: 1 directive per line, only first word in line is used.
  29. ssi_no_cache
  30. ssi_no_header
  31. ssi_no_footer
  32. ssi_no_replace
  33. ssi_no_include
  34. ssi_no_option
  35. ssi_no_interpret
  36. ssi_no_select
  37. ssi_no_#filestat
  38. ssi_no_#config
  39. ssi_no_#echo
  40. ssi_no_#include
  41. ssi_no_#exec
  42.  
  43. ; this line sets the mime type
  44. mime text/html
  45.  
  46. ; this sets some replacement rules
  47. replace_rules=$(==<!-- $ customiz 
  48. replace_rules=)$==-->
  49.  
  50. ; suppress content_md5 digest for this resource
  51. Set Content_md5 0
  52.  
  53. ; enable on-the-fly GZIP content-encoding
  54. ce_gzip 1
  55.  
  56.