View previous topic :: View next topic |
Author |
Message |
qwertz -
Joined: 17 Oct 2003 Posts: 15
|
Posted: Thu Apr 15, 2004 1:33 pm Post subject: SSI In Different Directories |
|
|
I've been using SSI include on many of my pages. I'm more of a neat person, so I like putting different pages in different directories. But I can't seem to access the ssi in other folders.
For example:
<!--#include file="../navjournal.htm" -->
Will not work.
I was wondering if there is a way to work around this.
Thanks!
Kevin |
|
Back to top |
|
 |
eznetlinks -
Joined: 27 Sep 2003 Posts: 144
|
Posted: Thu Apr 15, 2004 2:28 pm Post subject: |
|
|
<!--#include virtual="/navjournal.htm" --> |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Apr 16, 2004 3:08 pm Post subject: Re: SSI In Different Directories |
|
|
qwertz,
Using .. in a directory name in SSI include directives is fobidden (for security reasons). You can instead enter the full virtual path of the file. If your SSI file is in /dir1/dir2/file.shtml, replace:
Code: | <!--#include file="../navjournal.htm" --> |
with:
Code: | <!--#include virtual="/dir1/navjournal.htm" --> |
_________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
|