Welcome! Log In Create A New Profile

Advanced

Re: url rewrite help - is this possible

April 05, 2009 04:14PM
means it will not process any further rewrites



On Sun, Apr 5, 2009 at 12:56 PM, rkmr.em@gmail.com <rkmr.em@gmail.com> wrote:
> Hi Michael,
> ThanksĀ a lot for this. Yes you are right, i think i need this /123456/xxxx/
>
> in that case, is the following correct?
> rewrite ^/(\d+)/(.+)/ /$2?id=$1 last;
>
>
> can you explain what the word last means?
> thanks a lot!
>
> On Sun, Apr 5, 2009 at 12:50 PM, Michael Shadle <mike503@gmail.com> wrote:
>>
>> rewrite ^/(\d+)/(.+) /$2?id=$1 last;
>>
>> more or less. although you'd probably want to make it /123456/xxxx/ -
>> without the delimiter the url can be anything really.
>>
>> On Sun, Apr 5, 2009 at 12:38 PM, rkmr.em@gmail.com <rkmr.em@gmail.com>
>> wrote:
>> > if i get a url like this
>> > /123456/xxxx
>> >
>> > will nginx be able to rewrite the url to:
>> > /xxxx?id=123456
>> >
>> > if so how can i do it?
>> > thansk a lot!!
>>
>
>
Subject Author Posted

url rewrite help - is this possible

rkmr.em@gmail.com April 05, 2009 03:38PM

Re: url rewrite help - is this possible

mike April 05, 2009 03:50PM

Re: url rewrite help - is this possible

rkmr.em@gmail.com April 05, 2009 03:56PM

Re: url rewrite help - is this possible

mike April 05, 2009 04:14PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 318
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready