home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 35 Internet
/
35-Internet.zip
/
srev13h.zip
/
ADV_OPTS.CTL
< prev
next >
Wrap
Text File
|
2000-01-01
|
2KB
|
56 lines
;15 Apr 1998.
; This is a sample of an SRE-http advanced options file
;
; This line invokes a call to the adv_opts.cmd rexx procedure. This call
; occurs just prior to the "verb" processing -- after all request string
; modifications and access control privilege have been accomplished.
; It will be called for ALL honored requests (that is, it will NOT be
; called for redirected, or unauthorized, requests).
exec adv_opts.cmd This is an argument , with commas embedded.
;
; These lines are used to modify the response headers for document
; transfers using GET requests, and for HEAD requests.
; Note:
; 1) sre-http adds several default response headers.
; 3) AUTO_HEADER parameter may cause SRE-http to parse and send
; headers listed in the <HEAD> section of an HTML document.
; -- see the goserve.doc for details on how to use HEADER and RESPONSE directives.
;Response 200 ok
header add X-The-Date-GMT: $GMT
header add X-Webmaster-Name: Daniel Platypus
header add X-comment: X- headers generated by an SRE-http advanced-options file
header add X-Our-server: $servername
header add X-Size-1: this is $size size
header add X-Code-1: this is $code code
;
; The following will suppress selected ssi's. To disable them, just
; precede with a semi colon (a ;), or remove the line.
; Note: 1 directive per line, only first word in line is used.
ssi_no_cache
ssi_no_header
ssi_no_footer
ssi_no_replace
ssi_no_include
ssi_no_option
ssi_no_interpret
ssi_no_select
ssi_no_#filestat
ssi_no_#config
ssi_no_#echo
ssi_no_#include
ssi_no_#exec
; this line sets the mime type
mime text/html
; this sets some replacement rules
replace_rules=$(==<!-- $ customiz
replace_rules=)$==-->
; suppress content_md5 digest for this resource
Set Content_md5 0
; enable on-the-fly GZIP content-encoding
ce_gzip 1