<div>Weibin:</div>
<div>thank a lots <br></div>
<div>NextHop. <br></div>
<div class="gmail_quote">On Wed, Aug 19, 2009 at 6:00 PM, Weibin Yao <span dir="ltr">&lt;<a href="mailto:nbubingo@gmail.com">nbubingo@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">quan nexthop at 2009-8-19 17:33 wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Other issue:<br>I want to redirect some unsafe URLs to different safe URL, like  <a href="http://www.abc.com/a.index" target="_blank">http://www.abc.com/a.index</a> redirect to <a href="http://www.1234.com/a.index" target="_blank">http://www.1234.com/a.index</a><br>
<a href="http://www.abc.com/b.index" target="_blank">http://www.abc.com/b.index</a>  rediect to <a href="http://www.5566.com/b.index" target="_blank">http://www.5566.com/b.index</a>  I use  the function: ngx_http_internal_redirect() to implementate,  but I always get a crash.<br>
Any idea about these ?<br> <br></blockquote></div>ngx_http_internal_redirect() can  just redirect the request in the same host.<br><br>You can return the request with 301 or use the Nginx&#39;s proxy_pass directive.<br><br>
-- <br><font color="#888888">Weibin Yao<br><br><br></font></blockquote></div><br>