1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/examples/docroot/SSI/ssi1.shtml
2015-01-23 17:24:36 +01:00

27 lines
905 B
Plaintext

<html><pre>
ssi_begin
This page last updated: <!--#echo var="LAST_MODIFIED" -->
</pre>
<!--#if expr="$REQUEST_URI $= SSI/ssi1.shtml" -->
1: ok
<!--#endif -->
<!--#if expr="( $CONTENT_LENGTH == 0 && $SERVER_PORT ^= 80 || $SERVER_PORT *= 443 )" -->
2: ok
<!--#endif -->
<!--#if expr="(($CONTENT_LENGTH == 0) && ($SERVER_PORT $= 80 || $SERVER_PORT *= 443))" -->
3: ok
<!--#endif -->
<!--#if expr="! ($REQUEST_METHOD == POST )" -->
4: ok
<!--#endif -->
<!--#if expr="$REQUEST_URI $= SSI/ssi1.shtml && ($CONTENT_LENGTH == 0 && ($SERVER_PORT ~= 80 || $SERVER_PORT = 443)) && ! ($REQUEST_METHOD = POST )" -->
<!--#include file="ssi2.shtml" -->
<!--#elif expr="${REQUEST_URI} != {VIRTUAL_HOST}'/SSI/ssi1.shtml' || (${CONTENT_LENGTH} != 0 && (${SERVER_PORT} > 80 || $SERVER_PORT = 443)) || ! (${REQUEST_METHOD} = 'GET')" -->
error
<!--#else -->
parser failure
<!--#endif -->
<pre>
ssi_end
</pre></html>