Server Side Includes


This is a test document for the .SHTML extension files. This documents URL is /wasd_root/exercise/shtml.shtml (actual file: ), last modified 25-Mar-2017 10:02:45.

This is the 730,185th 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: Sat Sep 23 03:50:12 2017
(or more VMSish: 23-Sep-2017 03:50:12)

GMT time is: Sat Sep 23 01:50:12 2017 GMT

"#echos":

"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" browser accepted content types
"kazan.cnuce.cnr.it" request host and port destination
"[VARIABLE-DOES-NOT-EXIST!]" referring document
"CCBot/2.0 (http://commoncrawl.org/faq/)" browser identification string
"/wasd_root/exercise/shtml.shtml" request path
"" current document VMS file name
"" request query string
"54.198.52.8" browser host address
"54.198.52.8" browser host name
"" authenticated user
"blade2.isti.cnr.it" server host name
"80" server host port
"HTTP/1.0" Request HTTP protocol version
"HTTP/1.0" Server HTTP protocol version
"HTTPd-WASD/11.0.2 OpenVMS/IA64 SSL" 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 ... 25-Mar-2017 10:02:45

``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.txt25-Mar-2017 10:020plain text
[TXT]16k.txt25-Mar-2017 10:0216,000plain text
[TXT]32k.txt25-Mar-2017 10:0232,000plain text
[TXT]48k.txt25-Mar-2017 10:0248,000plain text
[TXT]64k.txt25-Mar-2017 10:0264,000plain text
[TXT]cors.com25-Mar-2017 10:024,238DCL procedure
[HTM]cors.html25-Mar-2017 10:023,884"WASD CORS Test JavaScript"
[HTM]dotty.html25-Mar-2017 10:024,004"Let's concurrently load some dots!"
[BIN]dotty.js25-Mar-2017 10:02144JavaScript source
[IMG]dotty.png25-Mar-2017 10:02347Portable Network Graphic
[BIN]dotty2.js25-Mar-2017 10:02136JavaScript source
[HTM]escherknot.html25-Mar-2017 10:0225HyperText Markup Language
[IMG]escherknot.xbm25-Mar-2017 10:0234,261X-bitmap
[TXT]face2face.com25-Mar-2017 10:02381DCL procedure
[TXT]face2face.php25-Mar-2017 10:0231PHP source
[TXT]face2face.pl25-Mar-2017 10:0258Perl source
[TXT]h2load_files.txt25-Mar-2017 10:025,042plain text
[TXT]h2load_mixed.txt25-Mar-2017 10:021,024plain text
[TXT]index.php25-Mar-2017 10:02490PHP source
[IMG]openvms.gif25-Mar-2017 10:021,536GIF image
[HTM]openvms.html25-Mar-2017 10:0240HyperText Markup Language
[TXT]perf_files_nocache_wb_v10.txt25-Mar-2017 10:0217,590plain text
[TXT]perf_files_wb.com25-Mar-2017 10:022,543DCL procedure
[TXT]perf_files_wb_v10.txt25-Mar-2017 10:0217,616plain text
[TXT]perf_persist_wb.com25-Mar-2017 10:022,197DCL procedure
[TXT]perf_persist_wb_v10.txt25-Mar-2017 10:0215,310plain text
[TXT]perf_scripts_wb.com25-Mar-2017 10:027,237DCL procedure
[TXT]perf_scripts_wb_v10.txt25-Mar-2017 10:0241,960plain text
[TXT]perf_xfer_wb.com25-Mar-2017 10:021,509DCL procedure
[TXT]perf_xfer_wb_v10.txt25-Mar-2017 10:027,808plain text
[HTM]readme.html25-Mar-2017 10:02121HyperText Markup Language
[htm]shtml.shtml25-Mar-2017 10:026,148HyperText Markup Language (pre-processed)
[???]shtml.shtml$23-Sep-2017 03:504
[HTM]shtml_include1.html25-Mar-2017 10:0288HyperText Markup Language
[htm]shtml_include1.shtml25-Mar-2017 10:02236HyperText Markup Language (pre-processed)
[TXT]singlebyteoutput.com25-Mar-2017 10:022,310DCL procedure
[TXT]this$20is$20a$20pathworks$20file-name.txt25-Mar-2017 10:02278plain text
[TXT]this$7ais$7aan$7a$sri$7a$file-name.txt25-Mar-2017 10:02268plain text
[TXT]this_is_$2balso$2b$2epathworks.txt25-Mar-2017 10:02256plain text
[???]this_is_$5kalso$5k.$sri$5n$txt25-Mar-2017 10:02244

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()" -->
23-SEP-2017 03:50:13.02
<!--#dcl say="4+5" -->
9
<!--#dcl say="\"<I>hello</I>\"" -->
hello
<!--#dcl dir="wasd_root:[exercise]" -->
Directory WASD_ROOT:[exercise] 0k.txt;1 16k.txt;1 32k.txt;1 48k.txt;1 64k.txt;1 cors.com;1 cors.html;1 dotty.html;1 dotty.js;1 dotty.png;1 dotty2.js;1 escherknot.html;1 escherknot.xbm;1 face2face.com;1 face2face.php;1 face2face.pl;1 h2load_files.txt;1 h2load_mixed.txt;1 index.php;1 openvms.gif;1 openvms.html;1 perf_files_nocache_wb_v10.txt;1 perf_files_wb.com;1 perf_files_wb_v10.txt;1 perf_persist_wb.com;1 perf_persist_wb_v10.txt;1 perf_scripts_wb.com;1 perf_scripts_wb_v10.txt;1 perf_xfer_wb.com;1 perf_xfer_wb_v10.txt;1 readme.html;1 shtml.shtml;1 shtml.shtml$;1 shtml_include1.html;1 shtml_include1.shtml;1 singlebyteoutput.com;1 this$20is$20a$20pathworks$20file-name.txt;1 this$7ais$7aan$7a$sri$7a$file-name.txt;1 this_is_$2balso$2b$2epathworks.txt;1 this_is_$5kalso$5k.$sri$5n$txt;1 Total of 40 files.
<!--#dcl show="process" -->
23-SEP-2017 03:50:13.07 User: HTTP$NOBODY Process ID: 5380BDDA Node: BLADE2 Process name: "WASD:80-35" Terminal: MBA2354: User Identifier: [HTTP$NOBODY] Base priority: 4 Default file spec: CGI-BIN:[000000] Number of Kthreads: 1 (System-wide limit: 4)
<!--#dcl show="users/node" -->
OpenVMS User Processes at 23-SEP-2017 03:50:13.09 Total number of users = 1, number of processes = 3 Username Node Interactive Subprocess Batch SYSTEM BLADE2 - - 3

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_*"\