Server Side Includes


This is a test document for the .SHTML extension files. This documents URL is /exercise/shtml.shtml (actual file: WASD_ROOT:[exercise]shtml.shtml), last modified 28-Jan-2026 04:35:07.

This is the 835,690th 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: Thu Apr 16 06:57:43 2026
(or more VMSish: 16-Apr-2026 06:57:43)

GMT time is: Wed Apr 15 21:27:43 2026 GMT

"#echos":

"*/*" browser accepted content types
"vsmx86.vsm.com.au" 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
"/exercise/shtml.shtml" request path
"WASD_ROOT:[exercise]shtml.shtml" current document VMS file name
"" request query string
"216.73.216.57" browser host address
"216.73.216.57" browser host name
"" authenticated user
"vsmx86.vsm.com.au" server host name
"80" server host port
"HTTP/1.1" Request HTTP protocol version
"HTTP/1.1" Server HTTP protocol version
"HTTPd-WASD/12.4.0 OpenVMS/X86 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 ... 28-Jan-2026 04:35:07

``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.
See WASD_TEST_AND_EXERCISE.TXT ⤤ for additional information.

NameRevisedSizeDescription

[TXT]001k.txt28-Jan-2026 04:354plain text
[TXT]064k.txt28-Jan-2026 04:3566plain text
[TXT]0k.txt28-Jan-2026 04:350plain text
[TXT]128k.txt28-Jan-2026 04:35128,000plain text
[TXT]16k.txt28-Jan-2026 04:3516,000plain text
[TXT]256k.txt28-Jan-2026 04:35256,000plain text
[TXT]32k.txt28-Jan-2026 04:3532,000plain text
[TXT]48k.txt28-Jan-2026 04:3548,000plain text
[TXT]64k.txt28-Jan-2026 04:3564,000plain text
[TXT]cors.com28-Jan-2026 04:354,238DCL procedure
[HTM]cors.html28-Jan-2026 04:353,884"WASD CORS Test JavaScript"
[HTM]dotty.html28-Jan-2026 04:354,016"Let's concurrently load some dots!"
[FIL]dotty.js28-Jan-2026 04:35144JavaScript source
[IMG]dotty.png28-Jan-2026 04:35347Portable Network Graphic
[FIL]dotty2.js28-Jan-2026 04:35136JavaScript source
[HTM]escherknot.html28-Jan-2026 04:3525HyperText Markup Language
[IMG]escherknot.xbm28-Jan-2026 04:3534,261X-bitmap
[TXT]face2face.com28-Jan-2026 04:35381DCL procedure
[TXT]face2face.php28-Jan-2026 04:3531PHP source
[TXT]face2face.pl28-Jan-2026 04:3558Perl source
[TXT]h2load_files.txt28-Jan-2026 04:354,852plain text
[TXT]h2load_mixed.txt28-Jan-2026 04:351,088plain text
[TXT]index.php28-Jan-2026 04:35490PHP source
[IMG]openvms.gif28-Jan-2026 04:351,536GIF image
[HTM]openvms.html28-Jan-2026 04:3540HyperText Markup Language
[TXT]perf_files_v115.txt 8-Jan-2023 10:2320,602plain text
[TXT]perf_scripts_v115.txt 8-Jan-2023 10:2315,474plain text
[TXT]perf_xfer_v115.txt 8-Jan-2023 10:2310,392plain text
[HTM]readme.html28-Jan-2026 04:35258HyperText Markup Language
[htm]shtml.shtml28-Jan-2026 04:356,148HyperText Markup Language (pre-processed)
[???]shtml.shtml$28-Jan-2026 04:354
[HTM]shtml_include1.html28-Jan-2026 04:3588HyperText Markup Language
[htm]shtml_include1.shtml28-Jan-2026 04:35236HyperText Markup Language (pre-processed)
[TXT]singlebyteoutput.com28-Jan-2026 04:352,310DCL procedure
[TXT]this$20is$20a$20pathworks$20file-name.txt28-Jan-2026 04:35278plain text
[TXT]this$7ais$7aan$7a$sri$7a$file-name.txt28-Jan-2026 04:35268plain text
[TXT]this_is_$2balso$2b$2epathworks.txt28-Jan-2026 04:35256plain text
[???]this_is_$5kalso$5k.$sri$5n$txt28-Jan-2026 04:35244
[TXT]wasd_test_and_exercise.txt28-Jan-2026 04:355,986plain text

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,016
ESCHERKNOT.HTML25
OPENVMS.HTML40
README.HTML258
SHTML_INCLUDE1.HTML88

Now some allowed DCL commands:

<!--#dcl say="f$time()" -->
16-APR-2026 06:57:43.88
<!--#dcl say="4+5" -->
9
<!--#dcl say="\"<I>hello</I>\"" -->
hello
<!--#dcl dir="wasd_root:[exercise]" -->
Directory WASD_ROOT:[exercise] 001k.txt;1 064k.txt;1 0k.txt;2 0k.txt;1 128k.txt;1 16k.txt;2 16k.txt;1 256k.txt;1 32k.txt;2 32k.txt;1 48k.txt;2 48k.txt;1 64k.txt;2 64k.txt;1 cors.com;2 cors.com;1 cors.html;2 cors.html;1 dotty.html;2 dotty.html;1 dotty.js;2 dotty.js;1 dotty.png;2 dotty.png;1 dotty2.js;2 dotty2.js;1 escherknot.html;2 escherknot.html;1 escherknot.xbm;2 escherknot.xbm;1 face2face.com;2 face2face.com;1 face2face.php;2 face2face.php;1 face2face.pl;2 face2face.pl;1 h2load_files.txt;2 h2load_files.txt;1 h2load_mixed.txt;2 h2load_mixed.txt;1 index.php;2 index.php;1 openvms.gif;2 openvms.gif;1 openvms.html;2 openvms.html;1 perf_files_v115.txt;1 perf_scripts_v115.txt;1 perf_xfer_v115.txt;1 readme.html;2 readme.html;1 shtml.shtml;2 shtml.shtml;1 shtml.shtml$;2 shtml.shtml$;1 shtml_include1.html;2 shtml_include1.html;1 shtml_include1.shtml;2 shtml_include1.shtml;1 singlebyteoutput.com;2 singlebyteoutput.com;1 this$20is$20a$20pathworks$20file-name.txt;2 this$20is$20a$20pathworks$20file-name.txt;1 this$7ais$7aan$7a$sri$7a$file-name.txt;2 this$7ais$7aan$7a$sri$7a$file-name.txt;1 this_is_$2balso$2b$2epathworks.txt;2 this_is_$2balso$2b$2epathworks.txt;1 this_is_$5kalso$5k.$sri$5n$txt;2 this_is_$5kalso$5k.$sri$5n$txt;1 wasd_test_and_exercise.txt;2 wasd_test_and_exercise.txt;1 Total of 71 files.
<!--#dcl show="process" -->
16-APR-2026 06:57:43.97 User: HTTP$NOBODY Process ID: 21C00B61 Node: VSMX86 Process name: "WASD:80$0B61" Terminal: MBA70: 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 16-APR-2026 06:57 Total number of users = 0, number of processes = 0

Now some privileged DCL commands:

<!--#dcl exec="show sym www_*" -->
WWW_AUTH_TYPE == "" WWW_CONTENT_LENGTH == "0" WWW_CONTENT_TYPE == "text/x-shtml" WWW_CSP_NONCE == "04146624f2c6e31f4a2d302fb3056e2" WWW_DOCUMENT_ROOT == "" WWW_GATEWAY_INTERFACE == "CGI/1.1" WWW_GATEWAY_MRS == "4492" WWW_GATEWAY_QIO == "30660" WWW_HTTP_ACCEPT == "*/*" WWW_HTTP_ACCEPT_ENCODING == "gzip, br, zstd, deflate" WWW_HTTP_CACHE_CONTROL == "max-age=259200" WWW_HTTP_CONNECTION == "keep-alive" WWW_HTTP_HOST == "vsmx86.vsm.com.au" WWW_HTTP_USER_AGENT == "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" WWW_HTTP_VIA == "1.1 squid-proxy-5b5d847c96-dchd6 (squid/6.13)" WWW_HTTP_X_FORWARDED_FOR == "10.1.240.213" WWW_KEY_COUNT == "0" WWW_PATH_INFO == "/exercise/shtml.shtml" WWW_PATH_ODS == "5" WWW_PATH_TRANSLATED == "WASD_ROOT:[exercise]shtml.shtml" WWW_QUERY_STRING == "" WWW_REMOTE_ADDR == "216.73.216.57" WWW_REMOTE_HOST == "216.73.216.57" WWW_REMOTE_PORT == "18904" WWW_REMOTE_USER == "" WWW_REQUEST_METHOD == "GET" WWW_REQUEST_PROTOCOL == "HTTP/1.1" WWW_REQUEST_SCHEME == "http:" WWW_REQUEST_TIME_GMT == "Wed, 15 Apr 2026 21:27:43 GMT" WWW_REQUEST_TIME_LOCAL == "Thu, 16 Apr 2026 06:57:43" WWW_REQUEST_URI == "/exercise/shtml.shtml" WWW_SCRIPT_NAME == "" WWW_SERVER_ADDR == "119.252.17.11" WWW_SERVER_CHARSET == "ISO-8859-1" WWW_SERVER_GMT == "+09:30" WWW_SERVER_NAME == "vsmx86.vsm.com.au" WWW_SERVER_PORT == "80" WWW_SERVER_PROTOCOL == "HTTP/1.1" WWW_SERVER_SIGNATURE == "<address>WASD/12.4.0 Server at vsmx86.vsm.com.au Port 80</address>" WWW_SERVER_SOFTWARE == "HTTPd-WASD/12.4.0 OpenVMS/X86 SSL" WWW_UNIQUE_ID == "8ddaa8bde85bb3e8cd9"
<!--#exec cmd="show sym *" -->
$FACILITY == "%X00000000" $IDENT == "%X00000000" $RESTART == "FALSE" $SEVERITY == "1" $STATUS == "%X10000001" WWW_AUTH_TYPE == "" WWW_CONTENT_LENGTH == "0" WWW_CONTENT_TYPE == "text/x-shtml" WWW_CSP_NONCE == "67bf91f747e61c60568b9e9980d07fa" WWW_DOCUMENT_ROOT == "" WWW_GATEWAY_INTERFACE == "CGI/1.1" WWW_GATEWAY_MRS == "4492" WWW_GATEWAY_QIO == "30660" WWW_HTTP_ACCEPT == "*/*" WWW_HTTP_ACCEPT_ENCODING == "gzip, br, zstd, deflate" WWW_HTTP_CACHE_CONTROL == "max-age=259200" WWW_HTTP_CONNECTION == "keep-alive" WWW_HTTP_HOST == "vsmx86.vsm.com.au" WWW_HTTP_USER_AGENT == "Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)" WWW_HTTP_VIA == "1.1 squid-proxy-5b5d847c96-dchd6 (squid/6.13)" WWW_HTTP_X_FORWARDED_FOR == "10.1.240.213" WWW_KEY_COUNT == "0" WWW_PATH_INFO == "/exercise/shtml.shtml" WWW_PATH_ODS == "5" WWW_PATH_TRANSLATED == "WASD_ROOT:[exercise]shtml.shtml" WWW_QUERY_STRING == "" WWW_REMOTE_ADDR == "216.73.216.57" WWW_REMOTE_HOST == "216.73.216.57" WWW_REMOTE_PORT == "18904" WWW_REMOTE_USER == "" WWW_REQUEST_METHOD == "GET" WWW_REQUEST_PROTOCOL == "HTTP/1.1" WWW_REQUEST_SCHEME == "http:" WWW_REQUEST_TIME_GMT == "Wed, 15 Apr 2026 21:27:43 GMT" WWW_REQUEST_TIME_LOCAL == "Thu, 16 Apr 2026 06:57:43" WWW_REQUEST_URI == "/exercise/shtml.shtml" WWW_SCRIPT_NAME == "" WWW_SERVER_ADDR == "119.252.17.11" WWW_SERVER_CHARSET == "ISO-8859-1" WWW_SERVER_GMT == "+09:30" WWW_SERVER_NAME == "vsmx86.vsm.com.au" WWW_SERVER_PORT == "80" WWW_SERVER_PROTOCOL == "HTTP/1.1" WWW_SERVER_SIGNATURE == "<address>WASD/12.4.0 Server at vsmx86.vsm.com.au Port 80</address>" WWW_SERVER_SOFTWARE == "HTTPd-WASD/12.4.0 OpenVMS/X86 SSL" WWW_UNIQUE_ID == "dbb23a38075d3530d4e"


Look at the source file:

<!--#include virtual="shtml.shtml" type="text/plain" --> the source of this document follows:

<!DOCTYPE html>
<!--##config trace=1 -->
<html>
<title>SSI / Pre-Processed HTML</title>
<h1>Server Side Includes<br></h1>
<p><hr size="3" width="100%" noshade>

<!--#config sizefmt="bytes" -->

<p> This is a test document for the <tt>.SHTML</tt> extension files.  This
documents URL is <tt><!--#echo PATH_INFO --></tt> (actual file:
<tt><!--#echo
file_name --></tt>), last modified <!--#echo LAST_MODIFIED -->.

<p>
<table bgcolor="ffff00" cellpadding="10" cellspacing="0" border="1">
<tr><td>
This is the
<!--#accesses ordinal since=" time since " timefmt="%c" -->
that this document has been accessed
(yes that's correct ... the document is used when batch testing the server!)
</td></tr>
</table>

<p> It is possible to include another SSI file. The following blue section has
been
<nobr><tt>&lt;!--#include virtual="shtml_include1.shtml"&gt;</tt>ed ...</nobr>

<p>
<table bgcolor="99ccff" cellpadding="10" cellspacing="0" border="1">
<tr><td>
<!--#include virtual="shtml_include1.shtml" -->
</td></tr>
</table>

<h2> &quot;#echos&quot;: </h2>

<table cellpadding="5" cellspacing="0" border="1">
<tr><td>&quot;<!--#echo http_accept -->&quot;</td>
<td>browser accepted content types</td></tr>
<tr><td>&quot;<!--#echo http_host -->&quot;</td>
<td>request host and port destination</td></tr>
<tr><td>&quot;<!--#echo http_referer -->&quot;</td>
<td>referring document</td></tr>
<tr><td>&quot;<!--#echo http_user_agent -->&quot;</td>
<td>browser identification string</td></tr>
<tr><td>&quot;<!--#echo path_info -->&quot;</td>
<td>request path</td></tr>
<tr><td>&quot;<!--#echo path_translated -->&quot;</td>
<td>current document VMS file name</td></tr>
<tr><td>&quot;<!--#echo query_string -->&quot;</td>
<td>request query string</td></tr>
<tr><td>&quot;<!--#echo remote_addr -->&quot;</td>
<td>browser host address</td></tr>
<tr><td>&quot;<!--#echo remote_host -->&quot;</td>
<td>browser host name</td></tr>
<tr><td>&quot;<!--#echo remote_user -->&quot;</td>
<td>authenticated user</td></tr>
<tr><td>&quot;<!--#echo server_name -->&quot;</td>
<td>server host name</td></tr>
<tr><td>&quot;<!--#echo server_port -->&quot;</td>
<td>server host port</td></tr>
<tr><td>&quot;<!--#echo request_protocol -->&quot;</td>
<td>Request HTTP protocol version</td></tr>
<tr><td>&quot;<!--#echo server_protocol -->&quot;</td>
<td>Server HTTP protocol version</td></tr>
<tr><td>&quot;<!--#echo server_software -->&quot;</td>
<td>server identification string</td></tr>
</table>

<h2> This request has been made via the 
<!--#if var={request_protocol} eqs="HTTP/2" -->
<u>HTTP/2</u>
<!--#else-->
<u>HTTP/1.<i>n</i></u>
<!--#endif-->
protocol</h2>

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

<h2> Let's include a file using: </h2>
<pre>&lt;!--#include file="wasd_root:[exercise]shtml_include1.html" --&gt;</pre>
<!--#include file="wasd_root:[exercise]shtml_include1.html" -->

<h2> That same file between &lt;LISTING&gt;&lt;/LISTING&gt;</tt> tags:
</h2>
<listing><!--#include virtual="shtml_include1.html" --></listing>

<h2> The same file, this time using a VIRTUAL specification:</h2>
<pre>&lt;!--#include virtual="../exercise/shtml_include1.html" --&gt;</pre>
<!--#include virtual="../exercise/shtml_include1.html" -->

<h2> Size of the file: </h2>
<pre>&lt;!--#fsize file="wasd_root:[exercise]shtml_include1.html" --&gt;</pre>
We can determined the size of the file ...
<!--#fsize file="wasd_root:[exercise]shtml_include1.html" -->

<h2> Creation date: </h2>
<pre>&lt;!--#fcreated file="wasd_root:[exercise]shtml_include1.html" --&gt;</pre>
We can determined the creation date/time of the file ...
<!--#fcreated file="wasd_root:[exercise]shtml_include1.html"
fmt="" 
-->

<h2> Last modification date: </h2>
<pre>&lt;!--#flastmod file="wasd_root:[exercise]shtml_include1.html" --&gt;</pre>
We can determined the last modification date/time of the file ...
<!--#flastmod
file="wasd_root:[exercise]shtml_include1.html"    
-->

<h2> ``Index of'' this directory:</h2>

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

<pre>&lt;!--#dir virtual="*.*" --&gt;</pre>

<p>
<table bgcolor="99ccff" cellpadding="5" cellspacing="0" border="0">
<tr><td>

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

</td></tr>
</table>

<h2> More controlled ``Index of'' HTML files in this directory:</h2>

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

<p>
<table bgcolor="99ccff" cellpadding="5" cellspacing="0" border="0">
<tr><td>

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

</td></tr>
</table>

<h2> Now some <b>allowed</b> DCL commands:</h2>

<pre>&lt;!--#dcl say="f$time()" --&gt;</pre>
<!--#dcl say="f$time()" -->

<pre>&lt;!--#dcl say="4+5" --&gt;</pre>
<!--#dcl say="4+5" -->

<pre>&lt;!--#dcl say="\"&lt;I&gt;hello&lt;/I&gt;\"" --&gt;</pre>
<!--#dcl say="\"<I>hello</I>\"" type="text/html" -->

<pre>&lt;!--#dcl dir="wasd_root:[exercise]" --&gt;</pre>
<listing><!--#dcl dir="wasd_root:[exercise]" --></listing>

<pre>&lt;!--#dcl show="process" --&gt;</pre>
<listing><!--#dcl show="process" --></listing>

<pre>&lt;!--#dcl show="users/node" --&gt;</pre>
<listing><!--#dcl show="users/node" --></listing>

<h2> Now some <b>privileged</b> DCL commands:</h2>

<pre>&lt;!--#dcl exec="show sym www_*" --&gt;</pre>
<listing><!--#dcl exec="show sym www_*" --></listing>

<pre>&lt;!--#exec cmd="show sym *" --&gt;</pre>
<listing><!--#exec cmd="show sym *" --></listing>

</ul>

<p><hr size="3" width="100%" noshade>

<h2> Look at the source file: </h2>
<listing>&lt;!--#include virtual="shtml.shtml" type="text/plain" --&gt;</listing>
the source of this document follows:

<p>
<table bgcolor="99ccff" cellpadding="5" cellspacing="0" border="0">
<tr><td>
<!--#include virtual="shtml.shtml" type="text/plain" -->
</td></tr>
</table>

<p><hr size="3" width="100%" noshade>

<h2>Finally a broken one: </h2>
<listing>&lt;!--#includ e virtual="shtml.shtml" type="text/plain" --&gt;</listing>

<!--#includ e virtual="shtml.shtml" type="text/plain" -->

</html>


Finally a broken one:

<!--#includ e virtual="shtml.shtml" type="text/plain" -->

SSI Error!

directive unknown (line 193)  ...  \#includ e virtual="shtml.shtml" type="text/plain"\