Victor Porton wrote:
On Tue, 2009-09-15 at 15:05 +0200, Torsten Foertsch wrote:
On Tue 15 Sep 2009, Victor Porton wrote:
<!--#if expr="$QUERY_STRING = /(^|\b)city(\b|$)/" -->
After this change the test 2 passes, but it does not pass if I enter
http://localhost/test2.shtml?city=2
Perhaps you have to outwit the SSI string parser. Just a guess:

  <!--#if expr="$QUERY_STRING = /\\bcity\\b/" -->

/\\bcity\\b/ works on my localhost (Debian Linux with Apache 2.2.13-1),

Good.  Mystery solved (though I have to confess I'm a little
surprised you need that in the context).

but does not work on http://logostudio.co.il/test.html?city with Apache
1.3.41 (FreeBSD).

As I told you earlier on IRC, 1.3 used a pre-PCRE regexp engine.

--
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
  "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to