    ssitester.shtml

    <html>
     <head>
      <title>Server Side Includes (SSI) Tests</title>
     </head>
     <body>
      <h1>Server Side Includes (SSI) Tests</h1>
      <hr>

      <h4>echo</h4>
      <table width=100% cellspacing=5 cellpadding=0 border=1>
       <tr valign=top>
        <td width=20%>
         ALL_HTTP
        </td>
        <td>
         <!-- #echo var="ALL_HTTP" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         ALL_RAW
        </td>
        <td>
         <!-- #echo var="ALL_RAW" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         AUTH_TYPE
        </td>
        <td>
         <!-- #echo var="AUTH_TYPE" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         AUTH_PASSWORD
        </td>
        <td>
         <!-- #echo var="AUTH_PASSWORD" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         AUTH_USER
        </td>
        <td>
         <!-- #echo var="AUTH_USER" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         CONTENT_ENCODING
        </td>
        <td>
         <!-- #echo var="CONTENT_ENCODING" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         CONTENT_LENGTH
        </td>
        <td>
         <!-- #echo var="CONTENT_LENGTH" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         CONTENT_TYPE
        </td>
        <td>
         <!-- #echo var="CONTENT_TYPE" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         DOCUMENT_NAME
        </td>
        <td>
         <!-- #echo var="DOCUMENT_NAME" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         DOCUMENT_URI
        </td>
        <td>
         <!-- #echo var="DOCUMENT_URI" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         DATE_GMT
        </td>
        <td>
         <!-- #echo var="DATE_GMT" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         DATE_LOCAL
        </td>
        <td>
         <!-- #echo var="DATE_LOCAL" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         GATEWAY_INTERFACE
        </td>
        <td>
         <!-- #echo var="GATEWAY_INTERFACE" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_ACCEPT
        </td>
        <td>
         <!-- #echo var="HTTP_ACCEPT" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_ACCEPT_CHARSET
        </td>
        <td>
         <!-- #echo var="HTTP_ACCEPT_CHARSET" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_ACCEPT_ENCODING
        </td>
        <td>
         <!-- #echo var="HTTP_ACCEPT_ENCODING" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_ACCEPT_LANGUAGE
        </td>
        <td>
         <!-- #echo var="HTTP_ACCEPT_LANGUAGE" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_AUTHORIZATION
        </td>
        <td>
         <!-- #echo var="HTTP_AUTHORIZATION" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_CONNECTION
        </td>
        <td>
         <!-- #echo var="HTTP_CONNECTION" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_COOKIE
        </td>
        <td>
         <!-- #echo var="HTTP_COOKIE" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_HOST
        </td>
        <td>
         <!-- #echo var="HTTP_HOST" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_IF_MATCH
        </td>
        <td>
         <!-- #echo var="HTTP_IF_MATCH" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_IF_MODIFIED_SINCE
        </td>
        <td>
         <!-- #echo var="HTTP_IF_MODIFIED_SINCE" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_IF_NONE_MATCH
        </td>
        <td>
         <!-- #echo var="HTTP_IF_NONE_MATCH" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_IF_RANGE
        </td>
        <td>
         <!-- #echo var="HTTP_IF_RANGE" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_IF_UNMODIFIED_SINCE
        </td>
        <td>
         <!-- #echo var="HTTP_IF_UNMODIFIED_SINCE" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_RANGE
        </td>
        <td>
         <!-- #echo var="HTTP_RANGE" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_REFERER
        </td>
        <td>
         <!-- #echo var="HTTP_REFERER" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTP_USER_AGENT
        </td>
        <td>
         <!-- #echo var="HTTP_USER_AGENT" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         HTTPS
        </td>
        <td>
         <!-- #echo var="HTTPS" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         INSTANCE_ID
        </td>
        <td>
         <!-- #echo var="INSTANCE_ID" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         LAST_MODIFIED
        </td>
        <td>
         <!-- #echo var="LAST_MODIFIED" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         LOCAL_ADDR
        </td>
        <td>
         <!-- #echo var="LOCAL_ADDR" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         PATH_INFO
        </td>
        <td>
         <!-- #echo var="PATH_INFO" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         PATH_TRANSLATED
        </td>
        <td>
         <!-- #echo var="PATH_TRANSLATED" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         QUERY_STRING
        </td>
        <td>
         <!-- #echo var="QUERY_STRING" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         QUERY_STRING_UNESCAPED
        </td>
        <td>
         <!-- #echo var="QUERY_STRING_UNESCAPED" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         REMOTE_ADDR
        </td>
        <td>
         <!-- #echo var="REMOTE_ADDR" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         REMOTE_HOST
        </td>
        <td>
         <!-- #echo var="REMOTE_HOST" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         REMOTE_USER
        </td>
        <td>
         <!-- #echo var="REMOTE_USER" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         REQUEST_METHOD
        </td>
        <td>
         <!-- #echo var="REQUEST_METHOD" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         REQUEST_URI
        </td>
        <td>
         <!-- #echo var="REQUEST_URI" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         ROOT
        </td>
        <td>
         <!-- #echo var="ROOT" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         SCRIPT_NAME
        </td>
        <td>
         <!-- #echo var="SCRIPT_NAME" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         SERVER_NAME
        </td>
        <td>
         <!-- #echo var="SERVER_NAME" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         SERVER_PORT
        </td>
        <td>
         <!-- #echo var="SERVER_PORT" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         SERVER_PORT_SECURE
        </td>
        <td>
         <!-- #echo var="SERVER_PORT_SECURE" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         SERVER_PROTOCOL
        </td>
        <td>
         <!-- #echo var="SERVER_PROTOCOL" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         SERVER_SOFTWARE
        </td>
        <td>
         <!-- #echo var="SERVER_SOFTWARE" --><br>
        </td>
       </tr>
       <tr>
        <td width=20%>
         URL
        </td>
        <td>
         <!-- #echo var="URL" --><br>
        </td>
       </tr>
      </table>

      <h4>exec tests</h4>
      <table width=100% cellspacing=5 cellpadding=0 border=1>
       <tr valign=top>
        <td width=20%>
         cgi dir
        </td>
        <td>
         <!-- #exec cgi="cd" -->
        </td>
        </tr>
        <tr>
        <td width=20%>
         cmd dir
        </td>
        <td>
         <!-- #exec cmd="cd" -->
        </td>
        </tr>
       </table>

      <h4>flastmod tests</h4>
      <table width=100% cellspacing=5 cellpadding=0 border=1>
       <tr valign=top>
        <td width=20%>
         virtual ./include.inc
        </td>
        <td>
         <!-- #flastmod virtual="./include.inc" -->
        </td>
        </tr>
        <tr>
        <td width=20%>
         file ./include.inc
        </td>
        <td>
         <!-- #flastmod file="./include.inc" -->
        </td>
        </tr>
       </table>

      <h4>fsize tests</h4>
      <table width=100% cellspacing=5 cellpadding=0 border=1>
       <tr valign=top>
        <td width=20%>
         virtual ./include.inc
        </td>
        <td>
         <!-- #fsize virtual="./include.inc" -->
        </td>
        </tr>
        <tr>
        <td width=20%>
         file ./include.inc
        </td>
        <td>
         <!-- #fsize file="./include.inc" -->
        </td>
        </tr>
       </table>

      <h4>include tests</h4>
      <table width=100% cellspacing=5 cellpadding=0 border=1>
       <tr valign=top>
        <td width=20%>
         virtual ./include.inc
        </td>
        <td>
         <!-- #include virtual="./include.inc" -->
        </td>
        </tr>
        <tr>
        <td width=20%>
         file ./include.inc
        </td>
        <td>
         <!-- #include file="./include.inc" -->
        </td>
        </tr>
       </table>

      <h4>config tests</h4>
      <table width=100% cellspacing=5 cellpadding=0 border=1>
       <tr valign=top>
        <td width=20%>
         errmsg
        </td>
        <td>
         <!-- #config errmsg="variable not found" -->
         <!-- #echo var="test" -->
        </td>
        </tr>
        <tr>
        <td width=20%>
         timefmt %C
        </td>
        <td>
         <!-- #config timefmt="%C" -->
         <!-- #flastmod virtual="./include.inc" -->
        </td>
        </tr>
        <tr>
        <td width=20%>
         sizefmt in kilobytes: ./include.inc
        </td>
        <td>
         <!-- #config sizefmt="abbrev" -->
         <!-- #fsize virtual="./include.inc" -->
        </td>
        </tr>
        <tr>
        <td width=20%>
         sizefmt in bytes: ./include.inc
        </td>
        <td>
         <!-- #config sizefmt="bytes" -->
         <!-- #fsize virtual="./include.inc" -->
        </td>
        </tr>
       </table>
     </body>
    </html>

    ==================================================
    include.inc

    Hello