On Mon, Sep 9, 2013 at 3:58 PM, mex <nginx-forum@nginx.us> wrote:
>> rewrite ^/index\.php?title=(.*)$ http://www.mysite.com/$1 redirect;
>
> this doesnt work? what is $1 then in the redirected request?
>
of course this won't work. Query string isn't part of rewrite matching string.
Use $arg_title instead.
http://nginx.org/en/docs/http/ngx_http_core_module.html#variables
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx