Streaming files with apache
Streaming files with apache
am 22.03.2010 09:46:08 von Ofer Kalisky
--000e0ce0b72670ca1704825fba81
Content-Type: text/plain; charset=ISO-8859-1
Hi,
Can the Apache web server stream regular files (i.e. not music etc), while
they're written, i.e. even if the server reaches EOF it continues to try to
read more of it until the client stops?
Thanks
--000e0ce0b72670ca1704825fba81
Content-Type: text/html; charset=ISO-8859-1
Hi,
Can the Apache web server stream regular files (i.e. not music etc), while they're written, i.e. even if the server reaches EOF it continues to try to read more of it until the client stops?
Thanks
--000e0ce0b72670ca1704825fba81--
Re: Streaming files with apache
am 22.03.2010 12:13:42 von Jeff Trawick
On Mon, Mar 22, 2010 at 4:46 AM, Ofer Kalisky wrote:
> Hi,
>
> Can the Apache web server stream regular files (i.e. not music etc), while
> they're written, i.e. even if the server reaches EOF it continues to try to
> read more of it until the client stops?
that read-EOF handling is not available "out of the box;" you'd need
to provide a plug-in module or [Fast]CGI app to do that
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: Streaming files with apache
am 22.03.2010 12:18:18 von Nick Kew
On 22 Mar 2010, at 08:46, Ofer Kalisky wrote:
> Hi,
>=20
> Can the Apache web server stream regular files (i.e. not music etc), =
while they're written, i.e. even if the server reaches EOF it continues =
to try to read more of it until the client stops?
As in, tail -f $file?
Yes and no. The default handler will serve the file it sees (cat rather =
than tail).
But a module or script could emulate tail -f. You'll have some issues =
to deal with,
like waiting forever on a static file, and managing memory.
--=20
Nick Kew=
------------------------------------------------------------ ---------
The official User-To-User support forum of the Apache HTTP Server Project.
See for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org