Posted by Poten Tate on 04/01/07 03:09
I'm on an apache server and am using the xbithack directive in my .htaccess
file. Here's how I use an include file (SSI) in my htm file--
<!--#include file="./thefile.txt" -->
It works perfectly.
The ./ means "thefile.txt" is in the same directory as the htm file that
contains the SSI. Here's where the htm file is--
public_html/folder1/folder2/htm_file.htm
For the life of me I can't figure how to go back 2 folders to--
public_html/folder0/anotherfile.txt
I've tried--
<!--#include file="/../../folder0/anotherfile.txt" --> and--
<!--#include file="../../folder0/anotherfile.txt"-->
and lots of other paths but can't get it to work. Does anyone know the
correct syntax? Thanks.
Navigation:
[Reply to this message]
|