Re: [users@httpd] RewriteRule and enabling pcre UTF-8 mode

2011-04-14 Thread Haim Ashkenazi
Hi On Thu, Apr 14, 2011 at 1:16 PM, Nick Kew wrote: > > On 14 Apr 2011, at 10:32, Haim Ashkenazi wrote: > > > But the (*UTF8) syntax causes a syntax error in httpd 2.2.3 (CentOS 5.x). > > What's the error message? Can't see anything in mod_rewrite that would > reject a valid pattern, so I wonde

Re: [users@httpd] RewriteRule and enabling pcre UTF-8 mode

2011-04-14 Thread Nick Kew
On 14 Apr 2011, at 10:32, Haim Ashkenazi wrote: > But the (*UTF8) syntax causes a syntax error in httpd 2.2.3 (CentOS 5.x). What's the error message? Can't see anything in mod_rewrite that would reject a valid pattern, so I wonder if the pcre you've linked was compiled without utf8 support? --

[users@httpd] RewriteRule and enabling pcre UTF-8 mode

2011-04-14 Thread Haim Ashkenazi
Hi I'm having a problem matching a single character in case of UTF8 characters (hebrew in my case). With rewrite rule (sorry for the hebrew in the example, but whenever you see '?' it's a sign that it's not good :): - RewriteRule ^/users/(.)(.*) /users/$1/$2 [L] when going to /users/משהכהן I