Netmar User's Guide Netmar.com
Contact Netmar
Order Webhosting

Linux control panel

   

Server Side Includes (SSI)

NCSA HTTPd allows users to create documents which provide simple information to clients on the fly. Such information can include the current date, the file's last modification date, and the size or last modification of other files. In its more advanced usage, it can provide a powerful interface to CGI and /bin/sh programs.

Documents that have Server-Side Includes within must be designated as such. They should either 1) end in .shtml or 2) have the user execute bit set. This can be done by logging in via telnet and typing "chmod u+x filename" at the "netmar>" prompt.


The SSI Format

All directives to the server 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:


SSI Environment Variables

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


NCSA HTTPd Development Team / httpd@ncsa.uiuc.edu / 9-28-95

Quick Start Guide :: Visit the old Guide :: Dedicated Server Guide

All content © 2002,2003 NetMar, Inc.