Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Using SSI
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Using SSI

 Post Reply Post Reply
Author
pjb007 View Drop Down
Groupie
Groupie


Joined: 03 September 2004
Location: United Kingdom
Status: Offline
Points: 185
Post Options Post Options   Thanks (0) Thanks(0)   Quote pjb007 Quote  Post ReplyReply Direct Link To This Post Topic: Using SSI
    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">
<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>



Edited by pjb007 - 16 May 2005 at 6:39am
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post 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,
Back to Top
pjb007 View Drop Down
Groupie
Groupie


Joined: 03 September 2004
Location: United Kingdom
Status: Offline
Points: 185
Post Options Post Options   Thanks (0) Thanks(0)   Quote pjb007 Quote  Post ReplyReply Direct Link To This Post 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">

 
out of interest can I still include the above, I want the site to be XHTML complient.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.