404 error with rewriting rule

Jonathan Matthews contact at jpluscplusm.com
Wed Apr 2 09:11:17 UTC 2014


On 1 Apr 2014 19:23, "skyice" <nginx-forum at nginx.us> wrote:
>
> Hello,
>
> With this rule :
>
> rewrite ^/([^/])(/.*) $2?locale=$1&$query_string last;

Your first capture is looking for exactly 1 character. Do you really mean
that?

J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140402/d6c3242c/attachment.html>


More information about the nginx mailing list