Serving mp3 files from Nginx
Igor Sysoev
is at rambler-co.ru
Sat May 19 12:08:21 MSD 2007
On Sat, May 19, 2007 at 09:29:11AM +0200, nhytro-python at web.de wrote:
> Thanks. But that does not work either. I still have the same error in my log and the files doe not play. Any other ideas?
What does "uname -a" show ?
> > -----Urspr?ngliche Nachricht-----
> > Von: nginx at sysoev.ru
> > Gesendet: 19.05.07 09:10:04
> > An: nginx at sysoev.ru
> > Betreff: Re: Serving mp3 files from Nginx
>
>
> >
> > <nhytro-python at ...> writes:
> >
> > >
> > > I have noticed something very strange with Nginx. I can server normal mp3
> > files from Apache, and the can be
> > > played or downloaded normally, the same files do not work on Nginx.
> > >
> >
> > The problem is that your system doesn't support "sendfile", as indicated in the
> > log. In your nginx.conf, delete this line:
> >
> > sendfile on;
> >
> > And things should be peachy.
> >
> > Evan
> >
> >
> > > ## ======= ERROR LOG
> > >
> > > 007/05/18 00:26:10 [crit] 3784#0: *6 sendfile() failed (38: Function not
> > implemented) while sending
> > > response to client, client: 81.62.17.209, server: localhost, URL: "/test.mp3",
> > host: "www.nhytro.de"
> > >
> > > Does anyone have an idea what I have done wrong?
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list