Posted by Joe (GKF) on 04/03/07 01:55
In article <unFPh.17009$PL.311@newsread4.news.pas.earthlink.net>,
asd@qwerzxc.org says...
> 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.
>
>
>
<!--#include virtual="/folder0/anotherfile.txt" -->
The virtual argument is used to begin the search for files from the ROOT
level.
--
Advice is cheap, so always give the best. - Alfred Lawson
http://graspages.cjb.cc/
[Back to original message]
|