[thelist] Menus and SSIs

Ricky Zhou ricky.zhou at gmail.com
Thu Mar 9 13:14:33 CST 2006


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