<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body><div style="direction: inherit;"><div style="direction: inherit;-webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); font-family: Helvetica; font-size: 24px; "><div style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); ">I want rewrite a uri to itself without querystring, I tried</div><div style="font-family: Times; font-size: medium; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); direction: inherit; "><font face="Helvetica" size="5">rewrite .+ $uri </font><span style="text-align: left; background-color: rgba(255, 255, 255, 0); "><font face="Helvetica" size="5">permanent;</font></span></div><div style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); ">but it rewrite to the original uri, with querystring unstripped.</div><div style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); "><br></div><div style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); ">After googled, I try</div><div style="font-family: Times; font-size: medium; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); "><div style="direction: inherit; "><font face="Helvetica" size="5">rewrite .+ $uri? permanent;</font></div><div style="direction: inherit; "><font face="Helvetica" size="5">and it works correctly. </font></div><div style="direction: inherit; "><font face="Helvetica" size="5"><br></font></div><div style="direction: inherit; "><font face="Helvetica" size="5">But why?</font></div><br><font face="Helvetica" size="5">--</font><div style="font-family: Helvetica; font-size: 24px; ">冷静认真,稳定运行;随时候命,宠辱不惊</div><div style="font-family: Helvetica; font-size: 24px; ">from iPad2 3G</div></div></div></div></body></html>