ssi man page

[NAME] [SYNOPSIS] [DESCRIPTION] [INCLUDE FORMAT] [VARIABLES] [BUGS / DEFICIENCIES] [SEE ALSO] [AUTHOR]


ssi(8)        MAINTENANCE COMMANDS         ssi(8)

NAME

ssi - server-side-includes CGI program

SYNOPSIS

ssi

DESCRIPTION

This is an external CGI program that gives you the same functionality as the built-in server-side-includes feature in some HTTP daemons. It is written for use with thttpd(8), but should be easy to adapt to other systems.

To use this program, first make sure it is installed in your server's CGI area, and that CGI is enabled. Then set up your URLs with the path to the document you want parsed as the "pathinfo". That's the part of the URL that comes after the CGI program name. For example, if the URL to this program is:

http://www.acme.com/cgi-bin/ssi
and the url for your document is:
http://www.acme.com/users/wecoyote/doc.html
then the compound URL that gives you the document filtered through the program would be:
http://www.acme.com/cgi-bin/ssi/users/wecoyote/doc.html

The format description below is adapted from http://hoohoo.ncsa.uiuc.edu/docs/tutorials/includes.html

INCLUDE FORMAT

All directives are formatted as SGML comments within the document. This is in case the document should ever find itself in the client's hands unparsed. Each directive has the following format:

<!--#command tag1="value1" tag2="value2" -->
Each command takes different arguments, most only accept one tag at a time. Here is a breakdown of the commands and their associated tags:

VARIABLES

A number of variables are made available to parsed documents. In addition to the CGI variable set, the following variables are made available:

BUGS / DEFICIENCIES

Does not implement the "exec" directive. Actually, I consider this neither a bug nor a deficiency, but some may.

SEE ALSO

thttpd(8), strftime(3)

AUTHOR

Copyright (C) 1995 by Jef Poskanzer <webmaster@mail.acme.com>. All rights reserved.


Back to the thttpd page.