Re: Streaming files with apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux