Welcome! Log In Create A New Profile

Advanced

Re: rewrite rule failing with unicode urls on nginx with pcre 8.3

Valentin V. Bartenev
March 21, 2012 07:32AM
On Wednesday 21 March 2012 14:56:49 yoavaner wrote:
[...]
> > > Is my nginx rewrite rule wrong? Is there a way to make this work?
> >
> > Avoid using rewrites.
>
> Or avoid using nginx, but that won't be an ideal solution obviously.
> Hope that this gets fixed some time...
>

Try this:

location ~ (*UTF8)^/imgthumb/(.*)$ {
fastcgi_pass ... or whatever you use
fastcgi_param QUERY_STRING $1;
...
}

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

rewrite rule failing with unicode urls on nginx with pcre 8.3

yoavaner March 20, 2012 12:06PM

Re: rewrite rule failing with unicode urls on nginx with pcre 8.3

Maxim Dounin March 21, 2012 06:42AM

Re: rewrite rule failing with unicode urls on nginx with pcre 8.3

yoavaner March 21, 2012 06:56AM

Re: rewrite rule failing with unicode urls on nginx with pcre 8.3

Valentin V. Bartenev March 21, 2012 07:32AM

Re: rewrite rule failing with unicode urls on nginx with pcre 8.3

yoavaner March 21, 2012 05:39PM

Re: rewrite rule failing with unicode urls on nginx with pcre 8.3

yoavaner March 21, 2012 06:04PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 165
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready