Welcome! Log In Create A New Profile

Advanced

[rewrite] replace the __ to %

Harold.Miao
February 11, 2014 04:26AM
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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

[rewrite] replace the __ to %

Harold.Miao February 11, 2014 04:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 154
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready