Apache Today: E-Commerce Solutions: Template-Driven Pages | Linux Today

Apache Today: E-Commerce Solutions: Template-Driven Pages

Written By
Web Webster
Web Webster
Jun 28, 2000

[ Thanks to Kevin
Reichard
for this link. ]

“The basis of all web sites is HTML, and that HTML is used to
implement your design. There are other elements of course,
graphics, and presumably the dynamic content of your site, but the
backbone of your site will be it’s design and layout. Now, I’m no
expert on design–I can do a technical drawing, but ask me to come
up with a logo and then draw it, and I’m suddenly lost. We’ll
therefore ignore the design issue, and instead concentrate on the
implementation!”

“Before we get on to the complexities of dynamically driven
sites, lets go back a step and look at a template-driven site that
uses Server Side Includes (SSI) to build up the pages.
Understanding the basics of SSI will help us to understand how
to use and employ templates…
For this to work correctly, you
need to have Apache configured first to handle SSI, and then to use
the index.shtml file as a default. This is fairly
straightforward…”

“Using the exec SSI directive we can execute a CGI script
instead of embedding a static HTML file.
Most sites actually
use this feature to include a site counter, but it can be used in
any situation where you want some dynamic content. On my site I’ve
used this as a way of introducing some random elements into the
various side panels that would otherwise have to be manually
selected on each page.”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.