Why did you escape the question mark?
---
*B. R.*
On Thu, Feb 5, 2015 at 6:16 PM, ntamblyn <nginx-forum@nginx.us> wrote:
> How can i turn this into a rewrite i have include what i have tried
>
> for example you have www.example.com/test/c_index.shtml
>
> you click a the change language button and the url changes to
> www.example/com/test/c_index.shtml?change_lang
>
> so i would like to rewrite that to www.example.com/test/e_index.shtml
>
> I have tried
>
> rewrite /test/c_(.*)\?change_lang /test/e_$1 redirect;
>
> but that doesnt work
>
> Any help would be much appreciated
>
> Posted at Nginx Forum:
> http://forum.nginx.org/read.php?2,256479,256479#msg-256479
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx