NginX RewriteMap : How to?

Hi,

I’m wondering how can I emulate the popular Apache’s RewriteMap
feature.

I tried several things, without success :

http://forum.nginx.org/read.php?11,220713,220936#msg-220936

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,220939,220939#msg-220939

Look at http://wiki.nginx.org/HttpMapModule and
http://wiki.nginx.org/HttpRewriteModule

Regards

M

http://wiki.nginx.org/HttpMapModule