Source code for SSI example

<!-- this may be specific for the thttpd ssi program -->
<!-- set the prefered time format using strftime format string -->
<!--#config timefmt="%c" -->

The Date is <!--#echo var="DATE_LOCAL" --><BR>

<!--#include file="hello.txt" --><BR>

<!--#include virtual="/ssi/hello.txt" --><BR>

DOCUMENT_NAME = <!--#echo var="DOCUMENT_NAME" --><BR>
DOCUMENT_URL = <!--#echo var="DOCUMENT_URI" --><BR>
LAST_MODIFIED = <!--#echo var="LAST_MODIFIED" --><BR>
DATE_GMT = <!--#echo var="DATE_GMT" --><BR>



When this code is parsed through the ssi.cgi program it results in this.

freesco/howtos/ssi_src.txt (42183 views) · Last modified: 2005/09/14 00:49 (external edit)
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki