RMF
04-20-2004, 06:34 PM
I'm having some problems with SSI, and its starting to drive me nuts :)
I can't seem to get SSI to include files "into" files that are in sub directories.
Example that works:
Say I have "example.com/index.shtml" and I want "example.com/ads.shtml" pulled into the file, I simply put the following command and it works.
<!--#include file="ads.shtml" -->
Example that doesn't work:
Say I have "example.com/abc/index.shtml" and I want "example.com/ads.shtml" pulled into the file, I put the following command, but it doesn't work.
<!--#include file="../ads.shtml" -->
Any idea whats going on or what I'm doing wrong?
RMF
I can't seem to get SSI to include files "into" files that are in sub directories.
Example that works:
Say I have "example.com/index.shtml" and I want "example.com/ads.shtml" pulled into the file, I simply put the following command and it works.
<!--#include file="ads.shtml" -->
Example that doesn't work:
Say I have "example.com/abc/index.shtml" and I want "example.com/ads.shtml" pulled into the file, I put the following command, but it doesn't work.
<!--#include file="../ads.shtml" -->
Any idea whats going on or what I'm doing wrong?
RMF
