Hi,
Can we make ngx_http_secure_link_module work after the url handled by ngx_http_rewrite_module ?
For example:
Original URL:
http://x.com/photo-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(32 bits)-real.jpg
I want after rewrite,it would become /photo/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(32 bits)/real.jpg where xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(32 bits) is the md5 checksum of real.jpg mixed with my secret key.
But it fails.
I noticed,proxy modules works well after the uri rewritten by Rewrite Module.
Can we make secure_link work too?
Also,
does ngx_http_request_t *r,r->unparsed_uri.data changed after the mod rewrite?
How can we get the uri rewritten by mod rewrite?
Thanks.
2009-11-17
xufengnju