Welcome! Log In Create A New Profile

Advanced

Re: rewrite/redirect problem

April 09, 2010 02:46AM
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@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@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

rewrite/redirect problem

m94asr April 09, 2010 02:44AM

Re: rewrite/redirect problem

mike April 09, 2010 02:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready