Nginx rewite base file name help!

http://pic.test.com/view.php?filename=947284035_234601603334998.jpg

to

http://pic.test.com/947284035_234601603334998

base file name

thanks

Posted at Nginx Forum:

On 26 October 2012 08:55, abcomp01 [email protected] wrote:

http://pic.test.com/view.php?filename=947284035_234601603334998.jpg

to

http://pic.test.com/947284035_234601603334998

base file name

This is very doable, and you should be able to work it out yourself
after reading these:

http://wiki.nginx.org/HttpRewriteModule#rewrite
and
http://wiki.nginx.org/HttpCoreModule#Variables

Cheers,
Jonathan

Jonathan M. // Oxford, London, UK
http://www.jpluscplusm.com/contact.html