View Full Version : Ssi


jazzberry
05-13-2003, 01:20 AM
I wasn't sure if this should go here, but I sure hope so!

Anyway, i'm using SSI on my tripod site, but it won't let me use them if the .txt file is in a different folder

here's a copy of my code(i changed the blah blah here part)

<!--#include file="header.txt" -->
blah blah here
<!--#include file="http://juicy_paper_clip.tripod.com/footer.txt" -->

I put a copy of "header.txt" in the folder that this particular file is in. The header.txt file works, but the footer.txt file doesn't work, is there any reason for this? It's been puzzling me all night!

zangerbanger
05-13-2003, 01:38 AM
If your textfile is in a subfolder, make sure you put that. For example it would like like this:

subfolder/file.txt

jazzberry
05-13-2003, 01:41 AM
but the text file isn't in a subfolder, infact it's in the parent folder...i'm so confused!

amicus
05-13-2003, 02:16 AM
if it's in the parent folder you have to put a '../' try this:
../file.txt
the '..' means go up a level.

pb&j
05-13-2003, 04:07 AM
from the help area of tripod...

Can I use Active Server Pages or server-side includes?
Currently, Tripod does not support Active Server Pages (.asp and .asf), server-side includes (SSI), or server-side scripts that are not written in Perl. This includes (but is not limited to) JSP, PHP, ColdFusion, and XSSI.