Search | Directories | Reference Tools
UW Home > UWIN > Computing and Networking > Web > Web Publishing > Controlling Access 

Server Side Includes

Summary

Server Side Includes (SSI) let you create Web pages which are generated dynamically each time they are requested by a Web browser. All you have to do is embed SSI commands into your HTML. SSI's ease the maintenance of large Web sites by providing a way to insert the contents of a single file into several Web pages.

Included on this page:

Introduction

Server Side Includes (SSI) can be used to:

SSI commands are embedded in your HTML as comments. They are parsed by the server when a file is requested by a Web browser.

How To Use SSI

By default, HTML files are not parsed for SSI commands. To use SSI commands in a file, use a .shtml filename extension. For example, if you put SSI commands in your home page, it should be renamed index.shtml.

Examples and Resources

Here are several simple SSI command examples:

Note: the cmd attribute for the exec SSI element has been disabled. Use the cgi attribute instead.

To learn more about SSI and individual SSI commands see: