This is a test document for the .SHTML extension files. This documents URL is /wasd_root/exercise/shtml.shtml (actual file: WASD_ROOT:[exercise]shtml.shtml), last modified 22-Jan-2025 01:06:27.
| This is the 835,670th 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
Current date/time: The local time is: Wed Nov  5 01:20:00 2025
 GMT time is: Tue Nov 4 14:50:00 2025 GMT  | 
| "*/*" | browser accepted content types | 
| "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 | 
| "/wasd_root/exercise/shtml.shtml" | request path | 
| "WASD_ROOT:[exercise]shtml.shtml" | current document VMS file name | 
| "" | request query string | 
| "216.73.216.124" | browser host address | 
| "216.73.216.124" | browser host name | 
| "" | authenticated user | 
| "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.3.4 OpenVMS/IA64 SSL" | server identification string | 
<!--#if var={request_protocol} eqs="HTTP/2" -->
<u>HTTP/2</u>
<!--#else-->
<u>HTTP/1.<i>n</i></u>
<!--#endif-->
<!--#include file="wasd_root:[exercise]shtml_include1.html" -->The included text is italicised for clarity.
I have begun a new paragraph.
I have begun a new paragraph.
<!--#include virtual="../exercise/shtml_include1.html" -->The included text is italicised for clarity.
I have begun a new paragraph.
<!--#fsize file="wasd_root:[exercise]shtml_include1.html" -->We can determined the size of the file ... 88 bytes
<!--#fcreated file="wasd_root:[exercise]shtml_include1.html" -->We can determined the creation date/time of the file ... 18-Sep-2013 02:22:31
<!--#flastmod file="wasd_root:[exercise]shtml_include1.html" -->We can determined the last modification date/time of the file ... 22-Jan-2025 01:06:27
(The blue background is just to delineate the extent of the listing)
<!--#dir virtual="*.*" -->
| 
  Documents and files to exercise and test the HTTPd server.
 
  | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
<!--#dir virtual="*.html" par="layout=UL_S:b&delimit=none&nops=yes&readme=no" -->
  | |||||||||||||||||
<!--#dcl say="f$time()" -->5-NOV-2025 01:20:00.92
<!--#dcl say="4+5" -->9
<!--#dcl say="\"<I>hello</I>\"" -->hello
<!--#dcl dir="wasd_root:[exercise]" -->
<!--#dcl show="process" -->
<!--#dcl show="users/node" -->
<!--#dcl exec="show sym www_*" -->
<!--#exec cmd="show sym *" -->
<!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><!--#include virtual="shtml_include1.shtml"></tt>ed ...</nobr>
<p>
<table bgcolor="99ccff" cellpadding="10" cellspacing="0" border="1">
<tr><td>
<!--#include virtual="shtml_include1.shtml" -->
</td></tr>
</table>
<h2> "#echos": </h2>
<table cellpadding="5" cellspacing="0" border="1">
<tr><td>"<!--#echo http_accept -->"</td>
<td>browser accepted content types</td></tr>
<tr><td>"<!--#echo http_host -->"</td>
<td>request host and port destination</td></tr>
<tr><td>"<!--#echo http_referer -->"</td>
<td>referring document</td></tr>
<tr><td>"<!--#echo http_user_agent -->"</td>
<td>browser identification string</td></tr>
<tr><td>"<!--#echo path_info -->"</td>
<td>request path</td></tr>
<tr><td>"<!--#echo path_translated -->"</td>
<td>current document VMS file name</td></tr>
<tr><td>"<!--#echo query_string -->"</td>
<td>request query string</td></tr>
<tr><td>"<!--#echo remote_addr -->"</td>
<td>browser host address</td></tr>
<tr><td>"<!--#echo remote_host -->"</td>
<td>browser host name</td></tr>
<tr><td>"<!--#echo remote_user -->"</td>
<td>authenticated user</td></tr>
<tr><td>"<!--#echo server_name -->"</td>
<td>server host name</td></tr>
<tr><td>"<!--#echo server_port -->"</td>
<td>server host port</td></tr>
<tr><td>"<!--#echo request_protocol -->"</td>
<td>Request HTTP protocol version</td></tr>
<tr><td>"<!--#echo server_protocol -->"</td>
<td>Server HTTP protocol version</td></tr>
<tr><td>"<!--#echo server_software -->"</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><!--#if var={request_protocol} eqs="HTTP/2" -->
<u>HTTP/2</u>
<!--#else-->
<u>HTTP/1.<i>n</i></u>
<!--#endif-->
</pre>
<h2> Let's include a file using: </h2>
<pre><!--#include file="wasd_root:[exercise]shtml_include1.html" --></pre>
<!--#include file="wasd_root:[exercise]shtml_include1.html" -->
<h2> That same file between <LISTING></LISTING></tt> tags:
</h2>
<listing><!--#include virtual="shtml_include1.html" --></listing>
<h2> The same file, this time using a VIRTUAL specification:</h2>
<pre><!--#include virtual="../exercise/shtml_include1.html" --></pre>
<!--#include virtual="../exercise/shtml_include1.html" -->
<h2> Size of the file: </h2>
<pre><!--#fsize file="wasd_root:[exercise]shtml_include1.html" --></pre>
We can determined the size of the file ...
<!--#fsize file="wasd_root:[exercise]shtml_include1.html" -->
<h2> Creation date: </h2>
<pre><!--#fcreated file="wasd_root:[exercise]shtml_include1.html" --></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><!--#flastmod file="wasd_root:[exercise]shtml_include1.html" --></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><!--#dir virtual="*.*" --></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><!--#dir virtual="*.html" par="layout=UL_S:b&delimit=none&nops=yes&readme=no" --></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><!--#dcl say="f$time()" --></pre>
<!--#dcl say="f$time()" -->
<pre><!--#dcl say="4+5" --></pre>
<!--#dcl say="4+5" -->
<pre><!--#dcl say="\"<I>hello</I>\"" --></pre>
<!--#dcl say="\"<I>hello</I>\"" type="text/html" -->
<pre><!--#dcl dir="wasd_root:[exercise]" --></pre>
<listing><!--#dcl dir="wasd_root:[exercise]" --></listing>
<pre><!--#dcl show="process" --></pre>
<listing><!--#dcl show="process" --></listing>
<pre><!--#dcl show="users/node" --></pre>
<listing><!--#dcl show="users/node" --></listing>
<h2> Now some <b>privileged</b> DCL commands:</h2>
<pre><!--#dcl exec="show sym www_*" --></pre>
<listing><!--#dcl exec="show sym www_*" --></listing>
<pre><!--#exec cmd="show sym *" --></pre>
<listing><!--#exec cmd="show sym *" --></listing>
</ul>
<p><hr size="3" width="100%" noshade>
<h2> Look at the source file: </h2>
<listing><!--#include virtual="shtml.shtml" type="text/plain" --></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><!--#includ e virtual="shtml.shtml" type="text/plain" --></listing>
<!--#includ e virtual="shtml.shtml" type="text/plain" -->
</html>
 |