[thelist] Menus and SSIs

Anonymous junkmail at lostcreektech.com
Thu Mar 9 13:34:19 CST 2006


Thanks much! I was finding lots of examples of the If/Then/Else part but was
finding nothing but browser type for the expr= part.  

-----Original Message-----
From: Ricky Zhou [mailto:ricky.zhou at gmail.com] 
Sent: Thursday, 09 March, 2006 14:15
To: junkmail at lostcreektech.com; thelist at lists.evolt.org
Subject: Re: [thelist] Menus and SSIs

On 3/9/06, Anonymous <junkmail at lostcreektech.com> wrote:
> Currently doing some work on a website and using SSI for the nav menu.
> Currently all the pages except one have the same menu. The one oddball 
> has some extra links. Is it possible using the IF/THEN/ELSE functions 
> of Apache includes to check the file name of the page and if it is the 
> oddball then include another include that has the extra lines?

<!--#if expr="$PAGE = /shop/" -->
Extra links!
<!--#else -->
(Any specific non-shop stuff)
<!--#endif -->

For future reference, all the answers are here:
http://httpd.apache.org/docs/2.0/howto/ssi.html.

Good luck,
Ricky





More information about the thelist mailing list