Server Side Includes


This is a test document for the .SHTML extension files. This documents URL is /wasd_root/WASD_ROOT/EXERCISE/SHTML.SHTML (actual file: WASD_ROOT:[WASD_ROOT.EXERCISE]SHTML.SHTML), last modified 08-Nov-2021 14:28:13.

This is the 739,278th time since Mon Dec 11 10:55:16 1995 that this document has been accessed (yes that's correct ... the document is used when batch testing the server!)

It is possible to include another SSI file. The following blue section has been <!--#include virtual="shtml_include1.shtml">ed ...

Current date/time:

The local time is: Fri Nov 15 16:35:13 2024
(or more VMSish: 15-Nov-2024 16:35:13)

GMT time is: Fri Nov 15 15:35:13 2024 GMT

"#echos":

"*/*" browser accepted content types
"timmersit.nl" request host and port destination
"[VARIABLE-DOES-NOT-EXIST!]" referring document
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" browser identification string
"/wasd_root/WASD_ROOT/EXERCISE/SHTML.SHTML" request path
"WASD_ROOT:[WASD_ROOT.EXERCISE]SHTML.SHTML" current document VMS file name
"" request query string
"18.189.145.109" browser host address
"18.189.145.109" browser host name
"" authenticated user
"vms1.timmersit.nl" server host name
"80" server host port
"HTTP/1.1" Request HTTP protocol version
"HTTP/1.1" Server HTTP protocol version
"HTTPd-WASD/11.3.0 OpenVMS/AXP" server identification string

This request has been made via the HTTP/1.n protocol

<!--#if var={request_protocol} eqs="HTTP/2" -->
<u>HTTP/2</u>
<!--#else-->
<u>HTTP/1.<i>n</i></u>
<!--#endif-->

Let's include a file using:

<!--#include file="wasd_root:[exercise]shtml_include1.html" -->
The included text is italicised for clarity.

I have begun a new paragraph.

That same file between <LISTING></LISTING> tags:

The included text is italicised for clarity.

I have begun a new paragraph.

The same file, this time using a VIRTUAL specification:

<!--#include virtual="../exercise/shtml_include1.html" -->
The included text is italicised for clarity.

I have begun a new paragraph.

Size of the file:

<!--#fsize file="wasd_root:[exercise]shtml_include1.html" -->
We can determined the size of the file ... 88 bytes

Creation date:

<!--#fcreated file="wasd_root:[exercise]shtml_include1.html" -->
We can determined the creation date/time of the file ... 18-Sep-2013 02:22:31

Last modification date:

<!--#flastmod file="wasd_root:[exercise]shtml_include1.html" -->
We can determined the last modification date/time of the file ... 08-Nov-2021 14:27:09

``Index of'' this directory:

(The blue background is just to delineate the extent of the listing)

<!--#dir virtual="*.*" -->

Documents and files to exercise and test the HTTPd server.
Also performance testing procedures and raw results.

NameRevisedSizeDescription

[TXT]0K.TXT 8-Nov-2021 14:280plain text
[TXT]16K.TXT 8-Nov-2021 14:2816,000plain text
[TXT]32K.TXT 8-Nov-2021 14:2832,000plain text
[TXT]48K.TXT 8-Nov-2021 14:2848,000plain text
[TXT]64K.TXT 8-Nov-2021 14:2864,000plain text
[TXT]CORS.COM 8-Nov-2021 14:284,238DCL procedure
[HTM]CORS.HTML 8-Nov-2021 14:283,884"WASD CORS Test JavaScript"
[HTM]DOTTY.HTML 8-Nov-2021 14:284,004"Let's concurrently load some dots!"
[CSS]DOTTY.JS 8-Nov-2021 14:28144JavaScript source
[IMG]DOTTY.PNG 8-Nov-2021 14:28347Portable Network Graphic
[CSS]DOTTY2.JS 8-Nov-2021 14:28136JavaScript source
[HTM]ESCHERKNOT.HTML 8-Nov-2021 14:2825HyperText Markup Language
[IMG]ESCHERKNOT.XBM 8-Nov-2021 14:2834,261X-bitmap
[TXT]FACE2FACE.COM 8-Nov-2021 14:28381DCL procedure
[TXT]FACE2FACE.PHP 8-Nov-2021 14:2831PHP source
[TXT]FACE2FACE.PL 8-Nov-2021 14:2858Perl source
[TXT]H2LOAD_FILES.TXT 8-Nov-2021 14:285,042plain text
[TXT]H2LOAD_MIXED.TXT 8-Nov-2021 14:281,024plain text
[TXT]INDEX.PHP 8-Nov-2021 14:28490PHP source
[IMG]OPENVMS.GIF 8-Nov-2021 14:281,536GIF image
[HTM]OPENVMS.HTML 8-Nov-2021 14:2840HyperText Markup Language
[TXT]PERF_FILES_NOCACHE_WB_V10.TXT 8-Nov-2021 14:2817,590plain text
[TXT]PERF_FILES_WB.COM 8-Nov-2021 14:282,543DCL procedure
[TXT]PERF_FILES_WB_V10.TXT 8-Nov-2021 14:2817,616plain text
[TXT]PERF_PERSIST_WB.COM 8-Nov-2021 14:282,197DCL procedure
[TXT]PERF_PERSIST_WB_V10.TXT 8-Nov-2021 14:2815,310plain text
[TXT]PERF_SCRIPTS_WB.COM 8-Nov-2021 14:287,237DCL procedure
[TXT]PERF_SCRIPTS_WB_V10.TXT 8-Nov-2021 14:2841,960plain text
[TXT]PERF_XFER_WB.COM 8-Nov-2021 14:281,509DCL procedure
[TXT]PERF_XFER_WB_V10.TXT 8-Nov-2021 14:287,808plain text
[HTM]README.HTML 8-Nov-2021 14:28121HyperText Markup Language
[htm]SHTML.SHTML 8-Nov-2021 14:286,148HyperText Markup Language (pre-processed)
[???]SHTML.SHTML$15-Nov-2024 16:354
[HTM]SHTML_INCLUDE1.HTML 8-Nov-2021 14:2888HyperText Markup Language
[htm]SHTML_INCLUDE1.SHTML 8-Nov-2021 14:28236HyperText Markup Language (pre-processed)
[TXT]SINGLEBYTEOUTPUT.COM 8-Nov-2021 14:282,310DCL procedure
[TXT]THIS$20IS$20A$20PATHWORKS$20FILE-NAME.TXT 8-Nov-2021 14:28278plain text
[TXT]THIS$7AIS$7AAN$7A$SRI$7A$FILE-NAME.TXT 8-Nov-2021 14:28268plain text
[TXT]THIS_IS_$2BALSO$2B$2EPATHWORKS.TXT 8-Nov-2021 14:28256plain text
[???]THIS_IS_$5KALSO$5K.$SRI$5N$TXT 8-Nov-2021 14:28244

More controlled ``Index of'' HTML files in this directory:

<!--#dir virtual="*.html" par="layout=UL_S:b&delimit=none&nops=yes&readme=no" -->

NameSize

CORS.HTML3,884
DOTTY.HTML4,004
ESCHERKNOT.HTML25
OPENVMS.HTML40
README.HTML121
SHTML_INCLUDE1.HTML88

Now some allowed DCL commands:

<!--#dcl say="f$time()" -->
15-NOV-2024 16:35:13.48
<!--#dcl say="4+5" -->
9
<!--#dcl say="\"<I>hello</I>\"" -->
hello
<!--#dcl dir="wasd_root:[exercise]" -->
Directory WASD_ROOT:[EXERCISE] .AAAA_TEST;1 0K.TXT;9 16K.TXT;9 32K.TXT;9 48K.TXT;9 64K.TXT;9 CORS.COM;8 CORS.HTML;8 DOTTY.HTML;8 DOTTY.JS;8 DOTTY.PNG;8 DOTTY2.JS;8 ESCHERKNOT.HTML;9 ESCHERKNOT.XBM;9 FACE2FACE.COM;9 FACE2FACE.PHP;9 FACE2FACE.PL;9 H2LOAD_FILES.TXT;8 H2LOAD_MIXED.TXT;8 INDEX.PHP;9 OPENVMS.GIF;9 OPENVMS.HTML;9 README.HTML;9 SHTML.SHTML;9 SHTML.SHTML$;9 SHTML_INCLUDE1.HTML;9 SHTML_INCLUDE1.SHTML;9 SINGLEBYTEOUTPUT.COM;9 THIS$20IS$20A$20PATHWORKS$20FILE-NAME.TXT;9 THIS$7AIS$7AAN$7A$SRI$7A$FILE-NAME.TXT;9 THIS_IS_$2BALSO$2B$2EPATHWORKS.TXT;9 THIS_IS_$5KALSO$5K.$SRI$5N$TXT;9 WASD_TEST_AND_EXERCISE.TXT;7 Total of 33 files.
<!--#dcl show="process" -->
15-NOV-2024 16:35:13.61 User: HTTP$NOBODY Process ID: 00122455 Node: VMS1 Process name: "WASD:80-14" Terminal: MBA36154: User Identifier: [HTTP$NOBODY] Base priority: 4 Default file spec: CGI-BIN:[000000] Number of Kthreads: 1 (System-wide limit: 2)
<!--#dcl show="users/node" -->
OpenVMS User Processes at 15-NOV-2024 16:35:13.65 Total number of users = 2, number of processes = 2 Username Interactive Subprocess Batch PIET 1 SYSTEM - - 1

Now some privileged DCL commands:

<!--#dcl exec="show sym www_*" -->

SSI Error!

document with DCL must be owned by SYSTEM (line 168)  ...  \#dcl exec="show sym www_*"\