www.opensourcewebbook.com
 
     
  Page Path - Contents - SSI  
     
 
Home
About
Foreword
Reviews
Authors
Purchase
Errata
Sourcecode
Resources
Tools
Contents
Linux
Apache
Perl
MySQL
WML
CGI
mod_perl
SSI
Embperl
Mason
PHP
     

Server Side Includes

Server Side Includes (SSI) provides a simple way to embed executable code into a web page. The advantages of SSI are that it is simple to use and easy to learn, and sometimes simplicity is its own reward. The main drawback of SSI is that because of its simplicity, it is limited in what it can do. Godel raises his head again.

SSI is not CGI - that is, it is not a program that is executed to generate HTML text, so one needn't be a Perl hacker to use it. Rather, SSi is a collection of directives that can be embedded in an HTML file and processed by Apache.

SSI Links

The official Apache SSI page
An extensive tutorial from Bignosebird.com
A tutorial from the folks at NCSA

 

     

EXAMPLES:

echo.shtml:
echo.shtml
echo.shtml contents

include.shtml:
include.shtml
header.html contents footer.shtml contents include.shtml contents

file.shtml:
file.shtml
file.shtml contents

exec.shtml:
exec.shtml
exec.shtml contents