<div>Hi Michael,</div>
<div>Thanks a lot for this. Yes you are right, i think i need this /123456/xxxx/</div>
<div> </div>
<div>in that case, is the following correct?</div>
<div><br>rewrite ^/(\d+)/(.+)/ /$2?id=$1 last;<br></div>
<div> </div>
<div> </div>
<div>can you explain what the word last means?</div>
<div>thanks a lot!</div>
<div> </div>
<div class="gmail_quote">On Sun, Apr 5, 2009 at 12:50 PM, Michael Shadle <span dir="ltr">&lt;<a href="mailto:mike503@gmail.com">mike503@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">rewrite ^/(\d+)/(.+) /$2?id=$1 last;<br><br>more or less. although you&#39;d probably want to make it /123456/xxxx/ -<br>
without the delimiter the url can be anything really.<br>
<div>
<div></div>
<div class="h5"><br>On Sun, Apr 5, 2009 at 12:38 PM, <a href="mailto:rkmr.em@gmail.com">rkmr.em@gmail.com</a> &lt;<a href="mailto:rkmr.em@gmail.com">rkmr.em@gmail.com</a>&gt; wrote:<br>&gt; if i get a url like this<br>&gt; /123456/xxxx<br>
&gt;<br>&gt; will nginx be able to rewrite the url to:<br>&gt; /xxxx?id=123456<br>&gt;<br>&gt; if so how can i do it?<br>&gt; thansk a lot!!<br><br></div></div></blockquote></div><br>