Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I set up my server to use SSI?

SSI (Server Side Includes)

How do I set up my server to use SSI?

by  Wullie  Posted    (Edited  )
This explains how to set up your server to use SSI (Server Side Incudes.)

First, add the option "Includes" in the options for the directory that you want to use..

You should also have

AddType text/html .shtml
AddHandler server-parsed .shtml

The .shtml part can be changed to another type of file but then ALL files with that extension will be parsed by the server for SSI, this will slow the server down for files that do not have any SSI.

You can also define this on a per domain basis by adding this code to a htaccess file.

Hope this helps

Wullie

sales@freshlookdesign.co.uk
www.freshlookdesign.co.uk
Register to rate this FAQ  : BAD 1 2 3 4 5 6 7 8 9 10 GOOD
Please Note: 1 is Bad, 10 is Good :-)

Part and Inventory Search

Back
Top