LWD Internet ... connecting business ... cutting costs ...Accept Credit Card Payments From Your Website
 Home | Domain Names | Web Hosting | E-commerce | Support | Web Design

Using Server Side Includes (SSI)

This document contains information about Server Side Includes on both Windows and Linux web hosting accounts. Server Side Includes are enabled on our servers.

File Extensions
Files using SSI must use the .shtml extension.

Files using SSI must be parsed by the server before being sent to the browser, in order to include the required information. This can slow down the delivery of your files to the browser. Intensive use of files including SSI commands can use quite a lot of system resources. For this reason, we recommend that where possible, alternative methods of including information should be used. Anything you can do with SSI can be done with JavaScript, PHP, ASP, Perl or HTML. If you cannot get an SSI command to work, consider using ASP, PHP, Perl or JavaScript instead.

Which commands work ?
There are many SSI commands, and many ways to do certain things with SSI. You should note for the time being that some '#exec' commands are disabled. Instead of using #exec, you should use #include.

Problems
SSI commands often fail to work because the incorrect command and pathname have been used. Try different paths to your files, both including and excluding the leading forward slash. Also try using different SSI commands such as using '#include file' instead of '#include virtual'. Check that you have used every possible combination and every possible command.

More information
If you want to know more about SSI, read the NCSA SSI tutorial at http://hoohoo.ncsa.uiuc.edu/docs/tutorials/includes.html