<br>2009/3/31 Igor Sysoev <span dir="ltr">&lt;<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>
<div class="h5">On Tue, Mar 31, 2009 at 01:56:01PM +0700, Glen Lumanau wrote:<br>
<br>
&gt; I tried to put this configuration on my nginx.conf<br>
&gt;<br>
&gt;     location  /default/ {<br>
&gt;         alias  /home/myhome/content/;<br>
&gt;     }<br>
&gt;<br>
&gt;         location ~ \.flv$ {<br>
&gt;             flv;<br>
&gt;         }<br>
&gt;<br>
&gt; But it doesn&#39;t work.<br>
&gt;<br>
&gt; When opening a FLV files, it always pointed me to the root directory which<br>
&gt; is /home/myhome<br>
&gt;<br>
&gt; Is there anythink i&#39;ve missed?<br>
<br>
</div></div>You need the last 0.7.x:<br>
<div class="im"><br>
     location    /default/ {<br>
         alias  /home/myhome/content/;<br>
     }<br>
<br>
</div>     location ~ ^/default/(.+\.flv)$ {<br>
         alias  /home/myhome/content/$1;<br>
         flv;<br>
     }</blockquote><div>Why do we need to put an alias on the flv?</div><div></div><div>Is this method not work on 0.6.35 ? </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
 </blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
<font color="#888888"><br>
<br>
--<br>
Igor Sysoev<br>
<a href="http://sysoev.ru/en/" target="_blank">http://sysoev.ru/en/</a><br>
<br>
</font></blockquote><br>