How to rewrite these

Glen Lumanau glen at lumanau.web.id
Sat Feb 20 17:06:25 MSK 2010


Thank's for your prompt reply..

However i tried this

rewrite  "/news/([0-9] {2})([0-9] {2})([0-9] {2})/$"
http://app.mydomain.com/redirect/application/$1$2$3;

but it doesn't work. What I've missed?


-----Original Message-----
From: Edho P Arief [mailto:edhoprima at gmail.com] 
Sent: 20 Februari 2010 20:56
To: nginx at nginx.org
Subject: Re: How to rewrite these

On Sat, Feb 20, 2010 at 8:45 PM, Glen Lumanau <glen at lumanau.web.id> wrote:
> Is that posibble to detect if (.+) is numbers only?
>

yes.

the method should be mentioned in any guide about regular expressions.
Which includes this [1] and this [2].

[1] http://www.regextester.com/pregsyntax.html

[2] http://www.regular-expressions.info/reference.html

-- 
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