Nginx Rewrite

B.R. reallfqq-nginx at yahoo.fr
Thu Feb 5 18:12:13 UTC 2015


Why did you escape the question mark?
---
*B. R.*

On Thu, Feb 5, 2015 at 6:16 PM, ntamblyn <nginx-forum at 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 at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150205/fd547d5f/attachment.html>


More information about the nginx mailing list