Gandi Wiki


You are on a question's page

Gandi Simple Hosting
new

Question "Server-side includes?", by John C.

Apache and some other web servers support the inclusion of other files within any html file. This is used, e.g., for "message of the day" files, which are to appear on multiple pages and may change often. Also to include material common to all pages, e.g., a navbar.

E.g., here is an include as recognized by Apache:

  
  <!--#include file="./included.html" -->

The included file can contain plain text, or html, and does not need to be named "*.html".

Does the Simple Hosting facility support this, or anything similar?

Last modified: 25 Jan 2012 at 06:30 by John C.