Rewrite help

Anoop Alias anoopalias01 at gmail.com
Tue Nov 8 14:58:26 UTC 2016


try

rewrite ^/(.*)\.gifv /vid.php?id=$1 last;

On Tue, Nov 8, 2016 at 8:20 PM, khav <nginx-forum at forum.nginx.org> wrote:

> Suppose i have a url as `http://somesite.com/ekjkASDs.gifv` , i want to
> rewrite it as `http://somesite.com/vid.php?id=ekjkASDs`
>
> Posted at Nginx Forum: https://forum.nginx.org/read.
> php?2,270815,270815#msg-270815
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>



-- 
*Anoop P Alias*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20161108/4fbaa595/attachment.html>


More information about the nginx mailing list