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),
but does not work on http://logostudio.co.il/test.html?city with Apache
1.3.41 (FreeBSD).

-- 
Victor Porton - http://portonvictor.org


---------------------------------------------------------------------
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