Subject: head-cfa httpd updated

From: David Meleedy <[email-masked]>
Date: Fri, 09 Dec 1994 19:26:24 -0500

The http daemon on head-cfa has been updated from version 1.1 to
version 1.3.  This new version gives us some new commands for http
documents which are very neat, including the ability to run shell
commands and put the output of the commands into the HTML document.

The way it works is that the server reads your HTML document, runs any
commands, and replaces the output of those commands and then sends your
modified HTML document to the client program that requested it.

These new commands are called "server side includes", and here is
an http address where you can read all about them:

http://hoohoo.ncsa.uiuc.edu/docs/tutorials/includes.html

Here is an HTML page to get you started...

<HEAD>
<TITLE>Test Page</TITLE>
</HEAD>
<BODY>

The Name of this document is:  <!--#echo var="DOCUMENT_NAME"-->.
<P>
The Virtual path to this document is: <!--#echo var="DOCUMENT_URI"-->.
<P>
The Date is:  <!--#echo var="DATE_LOCAL"-->.
<P>
This Document was last modified:  <!--#echo var="LAST_MODIFIED"-->.
<P>
<PRE>
<!--#exec cmd="cursive This is very cool!"-->
<P>
Here is a directory listing:
<!--#exec cmd="ls -l"-->
<P>
<!--#exec cgi="/cgi-bin/date"-->
</PRE>
</BODY>
</HTML>

========
David Meleedy                           Smithsonian Astrophysical Observatory
[email-masked]                60 Garden Street, MS 70
Phone: 617 495 7252                     Cambridge, MA  02138  USA