404 error with rewriting rule
Francis Daly
francis at daoine.org
Tue Apr 1 21:31:40 UTC 2014
On Tue, Apr 01, 2014 at 02:23:27PM -0400, skyice wrote:
Hi there,
> With this rule :
>
> rewrite ^/([^/])(/.*) $2?locale=$1&$query_string last;
>
> I get a 404 error when I try go on http://example.org/en/test.php instead of
> http://example.org/test.php?locale=en
Does this rewrite regex match this request?
What does the debug log say?
f
--
Francis Daly francis at daoine.org
More information about the nginx
mailing list