Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Conditional SSI

Status
Not open for further replies.

mp9

Programmer
Sep 27, 2002
1,379
0
0
GB
Not sure if this is the right forum - please redirect me somewhere else if not.

I know I can use conditional SSI to include a file based on the query string part of the URL, i.e.
Code:
<!--#if expr="${QUERY_STRING} = /new/"-->
<!--#include file="newmenu.htm" -->
<!--#endif -->

But what I want to do if conditionally include a file if the query string doesn't begin with certain characters and I don't know the syntax for the "not equal to" (<> ? != ? Something else?) or the wildcard operator to use (* ? % ? . ? Something else?)

Anyone know?

[pc2]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top