Forum: NGINX nginx rewite base file name help!

Posted by abcomp01 (Guest)
on 2012-10-26 09:56
(Received via mailing list)
Posted by Jonathan Matthews (Guest)
on 2012-10-26 12:08
(Received via mailing list)
On 26 October 2012 08:55, abcomp01 <nginx-forum@nginx.us> wrote:
> http://pic.test.com/view.php?filename=947284035_23...
>
> 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
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.