<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18828"><LINK rel=stylesheet
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt">
<DIV><FONT size=2 face=Verdana>Hi,</FONT></DIV>
<DIV>Can we make ngx_http_secure_link_module work after the url handled by
ngx_http_rewrite_module ?</DIV>
<DIV> </DIV>
<DIV>For example:</DIV>
<DIV>Original URL:</DIV>
<DIV>http://x.com/photo-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx(32 bits)-real.jpg</DIV>
<DIV>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.</DIV>
<DIV>But it fails.</DIV>
<DIV>I noticed,proxy modules works well after the uri rewritten by Rewrite
Module.</DIV>
<DIV>Can we make secure_link work too?</DIV>
<DIV> </DIV>
<DIV>Also,</DIV>
<DIV>does ngx_http_request_t *r,r->unparsed_uri.data changed after the
mod rewrite?</DIV>
<DIV>How can we get the uri rewritten by mod rewrite?</DIV>
<DIV> </DIV>
<DIV>Thanks.</DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2009-11-17
</FONT></DIV><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>
<DIV><FONT color=#c0c0c0 size=2 face=Verdana><SPAN>xufengnju</SPAN>
</FONT></DIV></FONT></BODY></HTML>