rewrite rule of url w/args to url?

Robert La Ferla robert.laferla at o-ms.com
Tue Dec 14 16:45:06 MSK 2010


I want to rewrite:

/somedirectory/file.zip?arg1=testing/test&opt=yes

to

/somedirectory/file.zip/testing/test


i.e.  it takes the base path and appends $arg1 to it and strips out 
other args.

What's the best way to do this in nginx?

-- 
- --
Robert La Ferla
VP Engineering
OMS SafeHarbor

This message (and any attachments) contains confidential information and is protected by law.  If you are not the intended recipient, you should delete this message and are hereby notified that any disclosure, copying, distribution, or the taking of any action based on this message, is strictly prohibited.




More information about the nginx mailing list