Blog Search

Latest Posts

Learn Chinese Online! - New Website Launch

Domain Name Registration Price Reductions in the New Year

We've Moved Offices!

How to Display Your Catalogues or Brochures Online

Signing up for a Google Analytics account

Make use of the web in the economic slowdown

Recent Recommended Links - October 2008

Google Chrome - New Web Browser

New SEO and Link Building Services

Firefox 3 Web Browser Launched

Blog Archive

Complete Blog Archive

Browse by Subject

AJAX
Apache
CMS
CSS
HTML
Java
JavaScript
Links
Linux
Mac
MySQL
Pascal
PHP
postgreSQL
RSS
Ruby
SEO
Web Dev News
Windows
XML

Other Resources

Matt's Web Development Blog

Computer Science Student Articles

Affiliate Program Articles

HTML: Server Side Includes (SSI) and .shtml Pages

Server Side Includes (SSI) are directives or commands placed in HTML pages, which are evaluated by the server while the pages are being served. They allow for content to be dynamically combined on an HTML page.

Apache must be configured to allow SSI. mod_include must be installed and enabled. If you have a site hosted by another company, their servers will typically be set up to allow SSI.

It is worth noting that for SSI to function, HTML pages with SSI commands must have the extension .shtml.

Here is example code you can use to include an HTML file within another. Very handy for including headers, footers, menus etc... that you re-use throughout your site.

<!--#include file="your_page.html"-->

Subscribe to RSS Feed Digg! Add to Google Add to My Yahoo!

Related Links

Related Articles / Posts

Relative File (Virtual) Inclusion - Server Side Includes (SSI) (23/03/2007)

CSS Layouts Without Tables - Tableless Design (Article) (07/11/2006)

The Origin of the Internet and Hypertext (Article) (25/10/2006)

Code Editors (Syntax Highlighting) - Aptana, Crimson Editor, PHP Designer (14/08/2006)

HTML: Scrolling Marquee Element (03/06/2006)

 
Acuras Web Development 21 Hylton Road Sands High Wycombe HP124BZ United Kingdom 08712 887 565
Tel: 08712 887 565
Fax: 08712 887 566
Email: info@acuras.co.uk
Skype: acuras_web
Paje House
164 West Wycombe Road
High Wycombe
Buckinghamshire
HP12 3AE
Feeds / Content
News
Latest Links
Blog - PHP / CSS
Business Information Environmental Policy
Email Newsletter