Support / KnowledgeBase

 
Search the KnowledgeBase Search

Using server side includes (SSI)

  • Applies to: All Service Types

  • Difficulty: Easy

  • Time needed: 5 minutes

  • Tools needed: None

 

This article will help you use server side includes (SSI) with your hosting service

DETAILS:

Web pages using SSI (server side includes) should be named with the .shtml file extension to keep things simple. However SSI tags in files of any extension will not be read without a .htaccess file. You can include SSI tags in any file including .html and .htm files by using a file with these entries:

Options +Includes
AddHandler server-parsed .shtml .html .htm

Upload this file to the web root of your (ss) Shared-Server service (usually /var/www/html along side your main index file). NOTE: Because the ".htaccess" file starts with a "." your ftp client may hide it from you. This will cause all files ending in .shtml .html and .htm to be parsed by the SSI engine on the server.

TIP:

The definitive source for SSI use with your (mt) Media Temple hosting package is http://httpd.apache.org/docs/howto/ssi.html

Revisions:

12-18-2008: Added Revisions Box
 

User Comments

No visitor comments posted. Post a comment

Fields marked with an asterisk(*) are required. Comment on this article

Fill out the form below if you would like to comment on this article.
 
 
 

(code is not case-sensitive)
 
Submit
 
 

Continue