SSI on Apache

Associate
Joined
18 Oct 2002
Posts
75
Location
In over my head
Guys,

I'm quite new to web design and this is my first site. I have designed a site using a template CSS in Dreamweaver.

The three main parts of the site that are on the same page and continued on multiple pages will be changing idepentantly and so I read about SSI and decided to use this to build up the pages.

My index page called index.shtml consists of nothing else but these three SSI lines of code....

Code:
<!--#include file="top.html" -->
<!--#include file="content.html" -->
<!--#include file="bottom.html" -->

These three files make up the page.

The problem is that when ever the page is refreshed it sometimes builds and displays itself within the browser and sometimes it doesn't. The browser is blank and "Done" id displayed at the bottom. It is quite random, I can refresh three or four times and the page appears only to be lost the fifth.

Has anayone seen this before? Am I doing something wrong? Is the code correct?
 
id appreciate any help on this too! im writing a file in xhtml and cant find much info on using includes.. do you know if wamp server supports ssi?
 
Back
Top Bottom