I am sorry that my mail was so confusing.<br>I did not checked the pages correctly. The problem is only on <span class="q"></span><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://wiki.codemongers.com/NginxDjangoFastCGI" target="_blank">
http://wiki.codemongers.com/NginxDjangoFastCGI</a> .<br>The *jpeg* is result of copping from Wiki in highlighting mode.<br><br><br><br><div><span class="gmail_quote">On 10/23/07, <b class="gmail_sendername">Igor Sysoev</b>
<<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Tue, Oct 23, 2007 at 02:05:27PM +0200, Martin Minka wrote:
<br><br>> There are two types of examples on wiki about how to catch/serve static<br>> files.<br>> The example A is not working correctly for names ending with the extension.<br>> I used the example A and added *.tar files as static (location ~*
<br>> ^.+\.(jpg|*jpeg*|gif|tar)$). I experienced troubles with<br>> "<a href="http://server.com/katar">http://server.com/katar</a>". It was processed like static file<br><br>The "\.(jpg|jpeg|gif|tar)$" should not match "/katar".
<br><br>> A)<br>> location ~* ^.+\.(jpg|*jpeg*|gif)$ {<br>> is used in:<br>> <a href="http://wiki.codemongers.com/NginxFullExample2">http://wiki.codemongers.com/NginxFullExample2</a><br>> <a href="http://wiki.codemongers.com/NginxRuExample">
http://wiki.codemongers.com/NginxRuExample</a><br>> <a href="http://wiki.codemongers.com/NginxDjangoFastCGI">http://wiki.codemongers.com/NginxDjangoFastCGI</a><br><br>As I understand the only NginxDjangoFastCGI is incorrect:
<br><br>- location ~* ^.+.(html|...<br>+ location ~* ^.+\.(html|...<br><br>> B)<br>> location ~* \.(gif|jpg|*jpeg*)$ {<br>> is used in core module documentation<br>><br>><br>> do you agree to change examples A ?
<br><br>Where do you see "*jpeg*" ?<br><br>> is there a way to use mime type to catch static content ?<br><br>No.<br><br><br>--<br>Igor Sysoev<br><a href="http://sysoev.ru/en/">http://sysoev.ru/en/</a><br><br>
</blockquote></div><br>