Rewrite Help please..

Glen Lumanau glen at lumanau.web.id
Wed Dec 2 09:47:03 MSK 2009


I tried this, but it doesn't work :(

Sorry, the new page is located at http://new.mydomain.com/node/27840


Regards,

Glen Lumanau

-----Original Message-----
From: Edho P Arief [mailto:edhoprima at gmail.com] 
Sent: 02 Desember 2009 13:29
To: nginx at nginx.org
Subject: Re: Rewrite Help please..

On Wed, Dec 2, 2009 at 1:21 PM, Glen Lumanau <glen at lumanau.web.id> wrote:
> Hello,
>
>
>
> How can I redirect
>
>
>
> http://www.mydomain.com/content/view/27840/2/
>
>
>
> into
>
>
>
> http://new.mydomain.com/27840
>
>
>

rewrite ^/view/content/(\d+)/.* /$1;


-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

_______________________________________________
nginx mailing list
nginx at nginx.org
http://nginx.org/mailman/listinfo/nginx





More information about the nginx mailing list