View Full Version : SSI not showing =/ need help Please!


DarkMoonX
04-10-2006, 12:31 PM
ok im working on a layout for my site and i want to use ssi for my navigation and a bar nav. 1st i need to know is it possible to test ssi just from my hard drive not a webhost. 2 if so i have a problem becuase i dont see anything. anyhelp would be great becuase i've been working on many layouts and now i just want to get the site up and running.
my txt code for nav
<style type="text/css">

A:link { text-decoration: underline; color:#666666; }
A:visited { text-decoration: underline; color:#666666; }
A:hover { text-decoration: overline underline; color:#888888; }

</style>
link blah <br>
<a href="">blah</a><br>
<img src="images/subject.jpg"><br>
<a href="">blah</a><br>
<a href="">blah</a><br>


code for my site you can view it at http://darkmoonx.awardspace.com/border.html
<html>
<head>
<title>.:DarkMoonX:.</title>
<link rel="shortcut icon" HREF="favicon.ico">

<style type="text/css">

A:link { text-decoration: underline; color:#666666; }
A:visited { text-decoration: underline; color:#666666; }
A:hover { text-decoration: overline underline; color:#888888; }

</style>
</head>

<body bgcolor="#000000" text="#666666">
<table align="center" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="13" width="13"><img src="images/border/topleft.jpg"></td>
<td background="images/border/topbar.jpg"><img src="images/border/topbar.jpg" height="13" width="100%"></td>
<td><img src="images/border/topright.jpg"></td>
</tr>
<tr>
<td background="images/border/leftbar.jpg"><img src="images/border/leftbar.jpg" width="14" height="100%"></td>
<td valign="top">
<!-- ~~~~~~~ MAIN ~~~~~~~~ -->
<table border="0" height="600" cellspacing="0" cellpadding="0">

<tr>
<td colspan="2" height="160" background="images/ls.jpg"><img src="images/logo.jpg"></td>
</tr>
<tr>
<td height="30" background="images/bar.jpg"><img src="images/navtop.jpg"></td>
<td height="30" background="images/bar.jpg">test</td>
</tr>
<tr>
<td width="160" background="images/nav.jpg" align="center" valign="top"><!--#include file="nav.txt" -->
</td>
<!-- CONTENT CONTENT -->
<td width="740" valign="top">MAIN</td>

</tr>

</table>
<!-- ~~~~~~~ END MAIN ~~~~~~~~ -->
</td>
<td background="images/border/rightbar.jpg"><img src="images/border/rightbar.jpg" width="14" height="100%"></td>
</tr>
<tr>
<td height="13" width="13"><img src="images/border/bottomleft.jpg"></td>
<td background="images/border/bottombar.jpg"><img src="images/border/bottombar.jpg" height="13" width="100%"></td>
<td><img src="images/border/bottomright.jpg"></td>
</tr>
</table>
</body>
</html>

DarkMoonX
04-11-2006, 01:34 AM
please help soon! im desprate lol i rly want to get it up, have been awile.

J to the izzosh
04-11-2006, 04:10 AM
It would only be possible to test websites using SSI which are stored on your HDD if you have a web server such as Apache running locally on your computer. SSI works because the webserver application sees the file extension .shtml and recognizes that it should replace any of the special SSI comment tags with the contents of the file to which they point. Without a program that will parse the HTML file properly, SSI are just a bunch of useless comment tags.