httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: [users@httpd] Streaming files with apache
Date Mon, 22 Mar 2010 11:18:18 GMT

On 22 Mar 2010, at 08:46, 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?

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.

-- 
Nick Kew
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> 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


Mime
View raw message