> But other than openresty, i didn't see any implementation inside nginx to > split any word or cookie. You can possibly use rewrite http://wiki.nginx.org/HttpRewriteModule ( http://nginx.org/en/docs/http/ngx_http_rewrite_module.html ) There is also an example to rewrite /photos/123456 to something like /path/to/photos/12/1234/123456.png rr