httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Evans <tevans...@googlemail.com>
Subject Re: [users@httpd] Word boundaries in regexps (Apache bug?)
Date Tue, 15 Sep 2009 11:11:34 GMT
On Tue, 2009-09-15 at 12:52 +0200, André Warnier wrote:
> Victor Porton wrote:
> ...
> > 
> > <!--#if expr="$QUERY_STRING = /city/" -->
> 
> I am not sure which add-on module of Apache, and which version you are 
> talking about, but are you sure that the above right-hand side is 
> interpreted as a regexp, as opposed to a simple string ?
> Can you point us to the relevant documentation ?
> 
> 
> 

http://httpd.apache.org/docs/2.2/mod/mod_include.html#flowctrl

string1 = string2
string1 == string2
string1 != string2
        
        Compare string1 with string2. If string2 has the form /string2/
        then it is treated as a regular expression. Regular expressions
        are implemented by the PCRE engine and have the same syntax as
        those in perl 5. Note that == is just an alias for = and behaves
        exactly the same way.
        
No idea why it isn't working for him.

Cheers

Tom


---------------------------------------------------------------------
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-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message