Hello,

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

Anyone have any idea to solve the problem ?

Thanks.

Posted at Nginx Forum: 
http://forum.nginx.org/read.php?2,248905,248905#msg-248905

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to