nginx rewite base file name help!

Jonathan Matthews contact at jpluscplusm.com
Fri Oct 26 10:08:13 UTC 2012


On 26 October 2012 08:55, abcomp01 <nginx-forum at nginx.us> 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 Matthews // Oxford, London, UK
http://www.jpluscplusm.com/contact.html



More information about the nginx mailing list