lookback in nginx?

Edho P Arief edhoprima at gmail.com
Wed Aug 5 16:13:04 MSD 2009

2009/8/5 Nuno Magalhães <nunomagalhaes at eu.ipp.pt>:
> I know what rewrite is. If i have
> domain.com/fileWithoutExtention/param1/param2/ can i parse it so that
> my file receives the two params using regular expressions? This is
> only one of the issues i'm trying to deal with.
> Can you recomend good PCRE links?


probably something like this
rewrite ^/fileWithoutExtension/([^/]*)/(.*)$

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

More information about the nginx mailing list