cheatindex
11-30-1999, 05:19 PM
Hi.
I am trying to use SSI in my site. Here is my problem. I have my menu file entitled legend.shtml in the root directory:
/legend.shtml
and in one of the directories, I want to use the "include" command to attach the file:
/test/content.shtml
Now. When I move the legend.shtml file into the "test" directory, all I have to do is use the command:
<!--#include file= "legend.shtml" -->
which works. But what do I do if I want to leave the directory file in the root directory and access it through the "test" directory. I figured it would be:
<!--#include file= "../legend.shtml" -->
but that didn't work. Please, if anyone can help me, post the message. I am clearly NOT a technical person, so any help would be greatly appreciated. Thanx.
I am trying to use SSI in my site. Here is my problem. I have my menu file entitled legend.shtml in the root directory:
/legend.shtml
and in one of the directories, I want to use the "include" command to attach the file:
/test/content.shtml
Now. When I move the legend.shtml file into the "test" directory, all I have to do is use the command:
<!--#include file= "legend.shtml" -->
which works. But what do I do if I want to leave the directory file in the root directory and access it through the "test" directory. I figured it would be:
<!--#include file= "../legend.shtml" -->
but that didn't work. Please, if anyone can help me, post the message. I am clearly NOT a technical person, so any help would be greatly appreciated. Thanx.