[thelist] multiple ssi in one page
ww
warren0728 at mac.com
Wed Mar 2 08:21:28 CST 2005
Pandy,
Thanks...this worked!
I have to put a duplicate ssi file in each folder since i use lots of
folders to keep content organized (since i can't use ../ or full paths)
but editing 5 menu files is better than editing 500 html pages!
thanks group for all your help.
ww : )
On Mar 1, 2005, at 10:44 PM, pandy wrote:
> ww wrote:
>> here is the code i used for inserting the ssi files....i have tried
>> using complete paths (http://path.to.ssi.file) and also (../ssi.file)
>>
>> <!--#include file="../menu/main.txt" -->
>
> ...and there you have it!
>
> "The value is a path relative to the directory containing the current
> document being parsed. It cannot contain ../, nor can it be an
> absolute path. Therefore, you cannot include files that are outside of
> the document root, or above the current document in the directory
> structure. The virtual attribute should always be used in preference
> to this one."
> http://httpd.apache.org/docs/mod/mod_include.html
>
> Try this instead.
> <!--#include virtual="/path/from/root/file.inc" -->
>
> pandy
More information about the thelist
mailing list