Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#89258 - 19/04/2002 00:38 Problems with SSI's
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
Okay, so I'm trying to implement the SSI help I got here about a month ago on my personal page in order to make changes to the menu easier. I've run into a problem.

I use this code:
<!--#include file="menu.html" -->

That works fine as long as the file is in the same directory.

So I tried this code for pages a level further down:
<!--#include file="../menu.html" -->

That produces this result.

I really don't want to take out all my directories because I need to be organized. And I can't make a menu.html file in each of those directories because that would defeat the purpose of this whole exercise.

What should I do?
_________________________
Matt

Top
#89259 - 19/04/2002 01:19 Re: Problems with SSI's [Re: Dignan]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Yeah. You can't use ``..'' in an ``include file'' directive. You can't start it with a ``/'', either. Try using ``include virtual'' instead. Read the mod_include docs for more info.
_________________________
Bitt Faulk

Top
#89260 - 19/04/2002 09:07 Re: Problems with SSI's [Re: wfaulk]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
*edit* nevermind, I figured it out *edit*


Edited by DiGNAN17 (19/04/2002 09:10)
_________________________
Matt

Top