how to get a value from upstream and redirect to another url according to the value?

姚伟斌 nbubingo at gmail.com
Sat Apr 16 13:19:35 MSD 2011


HI,

You can use the eval moudle(http://www.grid.net.ru/nginx/eval.en.html).

2011/4/16 notedit <notedit at gmail.com>

> hello
>
> i want to write a module , in this module i first get a value from the
> memcache upstream , then i will redirect the url according to the value i
> got?
>
> i know how to get a value from memcache upstream, but i don't not know
> where and when and how i redirect to another url.
>
> thanks for your reading .
>
> --
> *
> --------------------------
>
> Best Wishes,
> from   刘连响
> *
>
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://nginx.org/mailman/listinfo/nginx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20110416/9a29a709/attachment.html>


More information about the nginx mailing list