SREhttp/2: Demonstration of HTTPD includes



some errors

Bad include (VIRTUAL=FOO.GOO) yields this: Sample serror message

Bad fsize (FILE=ATSTHTTPD.HTM) yields this: Sample serror message
Bad flastmod (FILE=ATSTHTTPD.HTM) yields this: Sample serror message

include intro.txt (using FILE=)

Size and date of intro.txt
Size= 2,286
LastMod= Sunday , 00:01:00 19 Jan 2003 (12:01:00:am) ==is 19 day of year, 0 day in 3 week of 2003

Size and date of intro.txt using #SET variable TESTFILE="intro.txt") :
Size: 2,286
LastMod: Sunday , 00:01:00 19 Jan 2003 (12:01:00:am) ==is 19 day of year, 0 day in 3 week of 2003

Contents of INTRO.txt

18 September 2002:   The SREhttp/2 http server
      
For those interested in a full-featured http/1.1 compliant server for 
OS/2, I invite you to try SREhttp/2 -- a filter for the SRE2003 Internet
Interface.  And it's free.

The home page for this server, and for a wide range of other free, web aware 
tools for OS/2, can be found at http://www.srehttp.org.

Please see the bottom of this document for the standard (short) disclaimer.

Summary:

SREhttp/2 ver 1.1 supports the usual http/1.1 web server functions, such as:
-  Support for multiple hosts (multiple IP addresses and virtual hosts)
-  Support for range-retrieval
-  POST, PUT and DELETE http methods are supported.
-  Support for GZIP transfer-encoding (both sending and recieving)
-  NSCA and CERN server-side imagemaps
-  URL redirection
-  default documents for directories
-  common-log auditing
-  CGI-BIN compatability
-  digest authentication

In addition, SREhttp/2 ver 1.12 incorporates a number of special
features, including:
-  NCSA HTTPD style server side includes are fully supported
-  Documents with server side includes can be "intelligently" cached
-  Support for a URI-specific method of access control
-  Support for a form of 40bit encryption, and a digest-style authentication 
-  Local virtual directories can be specified and accessed
-  Several possible directory specific default documents can be specified
   ... or, directory listings can be created
-  Customizable response files when a request can not be found (404); 
   including a "list best matching files" capability.
-  Support for delta-encoding

To further extend SREhttp's capabilities, several addons are included
with SREhtttp/2, such as a directory lister, a message box utility,
and a simple search engine. You can finds many more addons at
www.srehttp.org.

Feel free to contact me (DANIELH@crosslink.net) if you are interested in
more details (or visit our site at http://www.srehttp.org/).

Short Disclaimer: 
    SREhttp/2 is supplied "as is"; with no warranty or guarantee.
    The authors furthermore disclaim any and all liability associated with the
    use or misuse of this package.  For the full disclaimer, please see the 
    READ.ME file packed with SREhttp/2.

  

Echo vars

Note: this document uses a timefmt of : "%A , %c (%r) == is %j day of year, %w day in %W week of %Y
Doc name: D:\www\sre2k\srehttp2\demos\TSTHTTPD.SHT
Doc Uri: /sre2k/srehttp2/demos/TSTHTTPD.SHT
Date Local:Friday , 04:06:15 3 May 2024 (04:06:15:am) ==is 124 day of year, 5 day in 18 week of 2024
Date GMT: Friday , 08:06:15 3 May 2024 (08:06:15:am) ==is 124 day of year, 5 day in 18 week of 2024 GMT
Last Mod: Sunday , 16:35:00 14 Jul 2002 (4:35:00:pm) ==is 195 day of year, 0 day in 28 week of 2002
Server software: SRE2003 1.12d. SREhttp/2 ver 1.12d
Server name: SREHTTP2.SREHTTP.ORG
Gateway Interface: CGI/1.1
Server Protocol: http/1.1
Server Port: 80
Request method: GET
Path info: Path_info n.a.
Path Translated: Path_translated n.a.
Script name: /sre2k/srehttp2/demos/TSTHTTPD.SHT
Query String:
Remote addr: 3.144.238.20
Auth type:
Auth name:
Remote Ident: Remote_ident n.a.
Content type: Content_type n.a.
Content Length: Content_length n.a.
Http accept: */*
Http user_agent: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Http Referer:

Exec sample (using jcount?index.htm)

1557

Do you want to see a demo of the XSSI conditional includes?