This is a test of server-side includes.
<!-- echo -->
directive, with
var="LAST_MODIFIED"
. BUG in standard
server: the modified format doesn't take, though it does affect
the DATE_LOCAL and DATE_GMT vars below.
<!--#echo -->
):
DOCUMENT_URI
DOCUMENT_NAME
DATE_LOCAL
DATE_GMT
<!--#config -->
and then deliberately
staging an error. You should see a complaint appropriate to a
much more sophisticated piece of software than httpd (but one
which, like httpd, came out of Urbana, Illinois).
Here is the environment seen by a <!--#exec
cmd="foo"-->
command:
Finally, we try including the output of a CGI script, and see what CGI vars it gets:
Note that this only works for ScriptAliased scripts --- it does not work if the script is ExecCGI (or RunScripts) out of a STD_DOCUMENT directory (i.e., not scriptaliased). But that's a bug in the standard server as well.