HI,<div><br></div><div>You can use the eval moudle(<a href="http://www.grid.net.ru/nginx/eval.en.html">http://www.grid.net.ru/nginx/eval.en.html</a>).</div><div><div><br><div class="gmail_quote">2011/4/16 notedit <span dir="ltr">&lt;<a href="mailto:notedit@gmail.com">notedit@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><span style="font-family:Arial;font-size:medium">hello<br style="clear:both"><br style="clear:both">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?<br style="clear:both">

<br style="clear:both">i know how to get a value from memcache upstream, but i don&#39;t not know where and when and how i redirect to another url.<br style="clear:both"><br style="clear:both">thanks for your reading .</span><br clear="all">
<font color="#888888">
<br>-- <br><span style="border-collapse:collapse;font-family:arial, sans-serif;font-size:14px"><font color="#666666"><div><b><span style="font-size:13px;color:rgb(0, 0, 0);font-weight:normal"><div>--------------------------</div>

<div><br></div><div>Best Wishes,</div><div><span style="color:rgb(102, 102, 102);font-size:14px"><b><span style="font-size:13px;color:rgb(0, 0, 0);font-weight:normal"><div style="display:inline !important"><div style="display:inline !important">

from &nbsp; ΑυΑ¬Ομ</div></div></span></b></span></div></span></b></div></font></span><br>
</font><br>_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://nginx.org/mailman/listinfo/nginx" target="_blank">http://nginx.org/mailman/listinfo/nginx</a><br>
<br></blockquote></div><br></div></div>