<div class="gmail_quote">I have in my system this two kind of url's for files:<div><br></div><div><a href="http://site.com/img.jpg" target="_blank">http://site.com/img.jpg</a></div><div><a href="http://site.com/img.jpg?123" target="_blank">http://site.com/img.jpg?123</a></div>
<div><br></div><div>I have this regular expression:</div><div><br></div><div><div> if (req.http.Host == "<a href="http://s3.files.fileserver.com" target="_blank">s3.files.fileserver.com</a>" && req.url ~ "\.(flv|mp4|jpg|xml|png|gif)(\?[a-z0-9]+)$") {</div>
<div> }</div><div><br></div><div>but it only match the second one. How should I change it so it can match both urls?</div><div><br></div><div>Thanks in advance.</div>
</div>
</div><br>