My
Ideal
Host
We do more than just host websites
Customer login
HOME
WEB
HOSTING
RESELLER HOSTING
CUSTOMER SUPPORT
TUTORIALS
COMPANY
View source
for
Server Side Includes (SSI)
<div align=justify>In order to use Server Side Includes (http://en.wikipedia.org/wiki/Server_Side_Includes) in your files, they must have .shtml or .shtm extension. Alternatively, adding the following line to your .htaccess will specify different file types that should be checked for such includes: ''AddHandler server-parsed .extension'' Then you'll be able to add code to your pages that will be processed by the web server. The code should be of the following format: {{#icon: SSI.png}} A brief explanation on SSI structure and work can be found below: {{#icon: SSI2.png}} is the opening identifier, each SSI code should start with this. {{#icon: SSI3.png}} specifies the command that can be sent to the server. This can be one of the following: ''echo, include, fsize, flastmod, exec, config , odbc, email, if, goto, label, break.'' {{#icon: SSI4.png}} is a set of variables and their values. {{#icon: SSI5.png}} is the closing tag. Every Server Side Inclusion should end with it. Here is an example of how to include HTML file into a page using SSI: {{#icon:SSI.png}}include virtual="somefile.shtml"{{#icon:SSI5.png}} </div>
Return to
Server Side Includes (SSI)
.
Navigation
Hosting Issues
Cloud Hosting
Billing Issues
FAQ
Articles
News
Interesting from the web
Search
Subscribe to our newsletters