Access to request parameters in nginx
Eden Li
eden at mojiti.com
Fri Oct 17 20:38:27 MSD 2008
If I'm not mistaken, you can access GET query string variables in
nginx 0.7.8 or greater via $arg_*. For example:
location /path {
rewrite /path /otherpath?newarg=$arg_oldarg redirect;
}
Which would redirect /path?oldarg=blah to /otherpath?newarg=blah
On Thu, Oct 16, 2008 at 11:25 PM, Arvind Jayaprakash
<work at anomalizer.net> wrote:
> Is there a way by which I can get access to GET/POST variables in a request?
> Third party modules are also welcome. If not, can someone point do a
> documentation of how to use ngx_hash_* functions/stucts. I don't mind
> submitting a patch for GET variables parsing.
>
>
More information about the nginx
mailing list