2009/6/18 Igor Sysoev <span dir="ltr">&lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt;</span><br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Wed, Jun 17, 2009 at 09:22:46PM -0700, Kevin Castiglione wrote:<br>
<br>
&gt; hei guys<br>
&gt; i want all urls to be re-written as follows:<br>
&gt;<br>
&gt; xx /host/xx<br>
&gt;<br>
&gt; xx is the url full path, it should be written as /domain/xx where host is<br>
&gt; the hostname.<br>
&gt;<br>
</div>&gt; for example <a href="http://www.ABCD.COM" target="_blank">www.ABCD.COM</a> &lt;<a href="http://www.abcd.com/" target="_blank">http://www.abcd.com/</a>&gt;<br>
&gt;<br>
&gt; /test?1 ---&gt; /<a href="http://ABCD.COM/test?1" target="_blank">ABCD.COM/test?1</a> &lt;<a href="http://abcd.com/test?1" target="_blank">http://abcd.com/test?1</a>&gt;<br>
<div class="im">&gt; is it possible to do this with nginx?<br>
&gt; thank you!<br>
<br>
</div>Should it be redirect or what ?<br>
<font color="#888888"></font></blockquote><div><br>i dont want it to be a permanent redirect. i just want the url to be rewritten for application processing. i want different domains to be handled by same web app an dmy webframe work supports only url-level application mapping. that is why i need this rewrite.<br>
thank you<br></div></div><br>