Server Side Includes
Server Side Includes (SSI) is a simple interpreted server-side scripting language used almost exclusively for the World Wide Web. It is most useful for including the contents of one or more files into a web page on a web server (see below), using its #include directive. This could commonly be a common piece of code throughout a site, such as a page header, a page footer and a navigation menu. SSI also contains control directives for conditional features and directives for calling external programs. It is supported by Apache, LiteSpeed, nginx, IIS as well as W3C's Jigsaw. It has its roots in NCSA HTTPd. In order for a web server to recognize an SSI-enabled HTML file and therefore carry out these instructions, either the filename should end with a special extension, by default .shtml , .stm , .shtm , or, if the server is configured to allow this, set the execution bit of the file.
Server Side Includes (SSI) is a simple interpreted server-side scripting language used almost exclusively for the World Wide Web. It is most useful for including the contents of one or more files into a web page on a web server (see below), using its #include directive. This could commonly be a common piece of code throughout a site, such as a page header, a page footer and a navigation menu. SSI also contains control directives for conditional features and directives for calling external programs. It is supported by Apache, LiteSpeed, nginx, IIS as well as W3C's Jigsaw. It has its roots in NCSA HTTPd. In order for a web server to recognize an SSI-enabled HTML file and therefore carry out these instructions, either the filename should end with a special extension, by default .shtml , .stm , .shtm , or, if the server is configured to allow this, set the execution bit of the file.
References
No reference rows published for this article.
Cite this article
MLA
"Server Side Includes." encyclopegia.org, 2026, https://encyclopegia.org/wiki/server-side-includes. Accessed 24 November 2026.
Chicago
"Server Side Includes." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/server-side-includes.
APA
encyclopegia.org. (2026). Server Side Includes. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/server-side-includes
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON