<br>2009/3/31 Igor Sysoev <span dir="ltr"><<a href="mailto:is@rambler-co.ru">is@rambler-co.ru</a>></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>
> I tried to put this configuration on my nginx.conf<br>
><br>
> location /default/ {<br>
> alias /home/myhome/content/;<br>
> }<br>
><br>
> location ~ \.flv$ {<br>
> flv;<br>
> }<br>
><br>
> But it doesn't work.<br>
><br>
> When opening a FLV files, it always pointed me to the root directory which<br>
> is /home/myhome<br>
><br>
> Is there anythink i'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>