On Sun, Nov 29, 2009 at 03:53:49PM -0500, thinkbot wrote:
> Thank you Igor !!!
> 
> One more thing, is there a way to put there regular expressions, something like
> 
> location = /rss.xml {
> if ($args ~ ^type=popular&cid=([0-9]+) {
> rewrite ^ /cache/rss/popular_$1.xml break;
> }
> }
Yes. You may also use "\d+" instead of "[0-9]+".
-- 
Igor Sysoev
http://sysoev.ru/en/