Print Page | Close Window

Using SSI

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: General Discussion
Forum Description: General discussion and chat on any topic.
URL: https://forums.webwiz.net/forum_posts.asp?TID=15105
Printed Date: 31 March 2026 at 9:29pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Using SSI
Posted By: pjb007
Subject: Using SSI
Date Posted: 16 May 2005 at 6:39am
I am trying to use SSI for the second time, the first time was with ASP and worked fine, this time I am only using HTML (well XHTML to be exact).
 
I have built my table structure, for the main page and 2 pages called
title.html and menu.html that contain infomation for every page.
 
When I include these pages in Dreamweaver it works purfectly, however upload to my Intranet and the included files do not display.
 
Here is my code so far and I can not workout what is wrong whit it

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd - http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">

<html xmlns=" http://www.w3.org/1999/xhtml - http://www.w3.org/1999/xhtml ">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<table width="100%" border="1">
  <tr>
    <td><!-- #include file="title.html" --></td>
  </tr>
  <tr>
    <td><table width="100%"  border="1">
 <tr>
        <td width="25%"><!-- #include file="menu.html" --></td>
        <td width="75%" valign="top">Test</td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>




Replies:
Posted By: dj air
Date Posted: 16 May 2005 at 6:45am
im not 100% sure but you can only include files with .asp or .shtml formats

the main page thats being loaded must be one of the above,


Posted By: pjb007
Date Posted: 16 May 2005 at 6:54am
Thanks
 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd - http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd ">

<html xmlns=" http://www.w3.org/1999/xhtml - http://www.w3.org/1999/xhtml ">
 
out of interest can I still include the above, I want the site to be XHTML complient.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net