rewrite/redirect problem

Michael Shadle mike503 at gmail.com
Fri Apr 9 10:43:14 MSD 2010


I would say one thing - at some point you should stop looking at the
webserver to make all the magic happen and push it into application
logic. :)


On Thu, Apr 8, 2010 at 3:22 PM, m94asr <m94asr at gmail.com> wrote:
> Hi,
>
> I get requests that look like
>
> /m?http://i.abc.com/A/P?vcode=bz==&p=uid:$DFG
>
> I can't change the format in which I get these requests;
>
> I want todo a redirect to what I have in $args, but $DFG should get
> replaced with a value I have in another variable ($uid, from
> httpuserid-module).
>
> so, if $uid is 42, a redirect to e.g.
> http://i.abc.com/A/P?vcode=bz==&p=uid:42
>
> Sounds simple, but I can't get it to work.
>
> Thanks for helping,
>  -Armin Roehrl
>
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



More information about the nginx mailing list