<div dir="ltr"><div>try</div><div><br></div>rewrite ^/(.*)\.gifv /vid.php?id=$1 last;</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Nov 8, 2016 at 8:20 PM, khav <span dir="ltr"><<a href="mailto:nginx-forum@forum.nginx.org" target="_blank">nginx-forum@forum.nginx.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Suppose i have a url as `<a href="http://somesite.com/ekjkASDs.gifv`" rel="noreferrer" target="_blank">http://somesite.com/ekjkASDs.<wbr>gifv`</a> , i want to<br>
rewrite it as `<a href="http://somesite.com/vid.php?id=ekjkASDs`" rel="noreferrer" target="_blank">http://somesite.com/vid.php?<wbr>id=ekjkASDs`</a><br>
<br>
Posted at Nginx Forum: <a href="https://forum.nginx.org/read.php?2,270815,270815#msg-270815" rel="noreferrer" target="_blank">https://forum.nginx.org/read.<wbr>php?2,270815,270815#msg-270815</a><br>
<br>
______________________________<wbr>_________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" rel="noreferrer" target="_blank">http://mailman.nginx.org/<wbr>mailman/listinfo/nginx</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><b>Anoop P Alias</b> <div><br></div></div></div></div>
</div>