What is server-side include (SSI)? - Definition from WhatIs.com


server-side include (SSI)

Part of the Computing fundamentals glossary:

A server-side include is a variable value (for example, a file "Last modified" date) that a server can include in an HTML file before it sends it to the requestor. If you're creating a Web page, you can insert an include statement in the HTML file that looks like this:

<!--#echo var="LAST_MODIFIED"-->

and the server will obtain the last-modified date for the file and insert it before the HTML file is sent to requestors.

LAST_MODIFIED is one of several environment variables that an operating system can keep track of and that can be accessible to a server program. The server administrator can make these environment variables usable when the system is set up.

A Web file that contains server-side include statements (such as the "echo" statement above) is usually defined by the administrator to be a file with an "." suffix. You can think of a server-side include as a limited form of common gateway interface application. In fact, the CGI is not used. The server simply searches the server-side include file for CGI environment variables, and inserts the variable information in the places in the file where the "include" statements have been inserted.

When creating a Web site, a good idea is to ask your server administrator which environment variables can be used and whether the administrator can arrange to set the server up so that these can be handled. The administrator may be able to help you add the appropriate "include" statements to your HTML file.

This was last updated in April 2005
Posted by: Margaret Rouse

Related Terms


  • irrational number

    - An irrational number is a real number that cannot be reduced to any ratio between an integer p and a natural number q. (WhatIs.com)

  • Cartesian coordinates (rectangular coordinates)

    - Cartesian coordinates, also called rectangular coordinates, provide a method of rendering graphs and indicating the positions of points on a two-dimensional (2D) surface or in three-dimensional (3D... (WhatIs.com)

  • algorithm

    - An algorithm (pronounced AL-go-rith-um) is a procedure or formula for solving a problem. Algorithms are used throughout almost all areas of information technology. (WhatIs.com)


  • Computing fundamentals

    - Terms related to computer fundamentals, including computer hardware definitions and words and phrases about software, operating systems, peripherals and troubleshooting.

  • Internet applications

    - This WhatIs.com glossary contains terms related to Internet applications, including definitions about Software as a Service (SaaS) delivery models and words and phrases about web sites, e-commerce ...

Ask a Question About server-side include (SSI)Powered by ITKnowledgeExchange.com

Get answers from your peers on your most technical challenges

Tech TalkComment



    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.