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.
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