Welcome! Log In Create A New Profile

Advanced

rewrite/redirect problem

m94asr
April 09, 2010 02:44AM
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
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: 299
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready