<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"><<a href="mailto:mike503@gmail.com">mike503@gmail.com</a>></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'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> <<a href="mailto:rkmr.em@gmail.com">rkmr.em@gmail.com</a>> wrote:<br>> if i get a url like this<br>> /123456/xxxx<br>
><br>> will nginx be able to rewrite the url to:<br>> /xxxx?id=123456<br>><br>> if so how can i do it?<br>> thansk a lot!!<br><br></div></div></blockquote></div><br>