<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
  Hi, everybody.<br>
  I trying to configure <b>nginx</b>, which was installed from
standard <b>Debian</b> repository, for FLV streaming. And the problem
is:<br>
  When I try to GET flv file with some shift
(<a class="moz-txt-link-freetext" href="http://localhost/video.flv?start=1">http://localhost/video.flv?start=1</a>), an 404 responce recieved. <br>
<br>
Here is a compilation options nginx binary package:<br>
/# <i>nginx -V<br>
<br>
</i>nginx version: nginx/0.6.32<br>
configure arguments: --conf-path=/etc/nginx/nginx.conf
--error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid
--lock-path=/var/lock/nginx.lock
--http-log-path=/var/log/nginx/access.log
--http-client-body-temp-path=/var/lib/nginx/body
--http-proxy-temp-path=/var/lib/nginx/proxy
--http-fastcgi-temp-path=/var/lib/nginx/fastcgi --with-debug
--with-http_stub_status_module <b>--with-http_flv_module</b>
--with-http_ssl_module --with-http_dav_module<br>
<br>
  As you can see, <b>with-http_flv_module</b> key are presented in
configure options.<br>
<br>
  Here is stantard Debian Lenny nginx config file: <br>
<br>
================================================================================<br>
server {<br>
        listen   80;<br>
        server_name  localhost;<br>
        limit_rate   5120;<br>
<br>
        access_log  /var/log/nginx/localhost.access.log;<br>
<br>
        location / {<br>
                root   /var/www/nginx-default;<br>
                index  index.html index.htm;<br>
        }<br>
<br>
        location /doc {<br>
                root   /usr/share;<br>
                autoindex on;<br>
                allow 127.0.0.1;<br>
                deny all;<br>
        }<br>
<br>
        location /images {<br>
                root   /usr/share;<br>
                autoindex on;<br>
        }<br>
<br>
        #error_page  404  /404.html;<br>
<br>
        # redirect server error pages to the static page /50x.html<br>
        #<br>
        error_page   500 502 503 504  /50x.html;<br>
        location = /50x.html {<br>
                root   /var/www/nginx-default;<br>
        }<br>
<br>
        # proxy the PHP scripts to Apache<br>
        #<br>
        #location ~ \.php$ {<br>
                #proxy_pass   <a class="moz-txt-link-freetext" href="http://127.0.0.1">http://127.0.0.1</a>;<br>
        #}<br>
<br>
        # pass the PHP scripts to FastCGI server listening on
127.0.0.1:9000<br>
        #<br>
        #location ~ \.php$ {<br>
                #fastcgi_pass   127.0.0.1:9000;<br>
                #fastcgi_index  index.php;<br>
                #fastcgi_param  SCRIPT_FILENAME 
/scripts$fastcgi_script_name;<br>
                #includefastcgi_params;<br>
        #}<br>
        # deny access to .htaccess files, if Apache's document root<br>
        # concurs with nginx's one<br>
        #<br>
        #location ~ /\.ht {<br>
                #deny  all;<br>
        #}<br>
<br>
<b>        location ~ \.flv$ {<br>
                flv;<br>
                root   /var/www/nginx-default;<br>
        }<br>
</b>}<br>
================================================================================<br>
<br>
  Bold text is my modiffication of config file. <br>
  The issue once again: <br>
  When I try to GET flv file with some shift (<i><a class="moz-txt-link-freetext" href="http://localhost/video.flv?start=1">http://localhost/video.flv?start=1</a></i>),
an <b>404</b> responce recieved.<br>
  <br>
  Can anyone help me with this issue? Where I was wrong? <br>
</body>
</html>