Are these rules ok?

Igor Clark lists at ruby-forum.com
Tue Jan 6 17:03:19 MSK 2009


Merlin wrote:

> Also, while we're filling your head with ideas during vacation, I must 
> say
> that just the other day I really wanted location captures!  I ended up
> finding another way to do what I wanted cleanly, but I can see myself
> [ab]using such a feature for all kinds of things in the future...

If by location captures you mean e.g.:

    location ~ ^/([a-z]+)/([0-9]+)/?$ {
        # do stuff with $1 $2
    }

then I second it - that would be a hugely useful feature.

Thanks,
Igor Clark

-- 
Posted via http://www.ruby-forum.com/.





More information about the nginx mailing list