remove some parameters from $args

lahiru nginx-forum at nginx.us
Sun Oct 6 10:59:28 UTC 2013


Hello,
           I'm using memcached + srcache. I need to modify the $args and
take it as the cache key.

For example; 

RT=62&SID=BC3781C3-2E02-4A11-89CF-34E5CFE8B0EF&UID=44332&L=EN&M=1&H=1&UNC=0&SRC=LK

I need to convert above $args string to below by removing parameters SID and
UID.

RT=62&L=EN&M=1&H=1&UNC=0&SRC=LK

How can I do this ?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,243462,243462#msg-243462



More information about the nginx mailing list