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:
http://forum.nginx.org/read.php?2,232243,232243#msg-232243

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs