[rewrite] replace the __ to %

Harold.Miao miaohonghit at gmail.com
Tue Feb 11 09:25:16 UTC 2014


hi all ,

I have a problem about rewrite

location ~ (\.ts)$ {

}

req:
http://127.0.0.1/__ce__a3__c7__e9__b5__fd__d5__bd(1080P__bb__ad__d6__ca).ts


I need to replace __  to % :
http://127.0.0.1/%ce%a3%c7%e9%b5%fd%d5%bd(1080P%bb%ad%d6%ca).ts

How to design the "rewrite" cmd?

THX



-- 

Best Regards,
Harold Miao
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20140211/dd4c3f2a/attachment-0001.html>


More information about the nginx mailing list