Member Login

Domain Name


Password



Forgot your Password?
 




Support Page

Server Side Include
  1. Introduction

  2. What is SSI?

  3. Using SSI

  4. SSI Commands

  5. Additional SSI Variables

  6. SSI Sample Commands

  7. Enabling SSI

  8. REFERENCES


What Is SSI?

SSI stands for Server Side Include. It is a method of invoking script programs that run on the web server to perform some function and/or add information to a web page. For instance SSI can be useful if you want to do the following:

  • Add a hit counter to your page or passively count hits on your page.
  • Add file information to your page, such as the last update date.
  • Include another HTML file in your page.
  • Configuring dates format
  • Run a file
Broken down, SSI means:

Server refers to the server (computer where these web pages are stored).

Side refers to all actions occurring in the server, i.e., JavaScripts are (client side) commands that make the web browser (Netscape, IE) do something. These (Server Side) commands, on the other hand, occur within a program on the server not the browser.

Includes means that, whatever action is taken by our server, its output is included in the html document at whatever location the command is placed.

SSI includes are not without some drawback:

They significantly increase the work the server must do, therefore they should be used sparingly.

  • SSI commands pose some security concerns.
  • An additional burden on the server is the search in the ".SHTML" file for SSI statements. This is then served as the whole page including any output from any script called in the ".SHTML" file.
An additional burden on the server is the search in the ".SHTML" file for SSI statements. This is then served as the whole page including any output from any script called in the ".SHTML" file.

NOTE

SSI is certainly not a replacement for CGI, or other technologies used for generating dynamic web pages. On the other hand, it is a good way to add small amounts of dynamic content to pages, without doing a lot of extra work.

"Apache Website"

TOP

PREVNEXT

BACK
BACK

Home | About Us | Contact Us | Support | Acceptable Use Policy | Service Agreement | Privacy Policy | Domain Dispute Policy

*$30/yr price is for .com, .net, .org, .info, and .biz extensions.
The .ca extensions are $48/yr and .cc and .us extensions are $45/yr.

Copyright © 2002. ArisHost  
All rights reserved.