Streaming files with apache

--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

<div dir="ltr">Hi,<br><br>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?<br>
<br>Thanks<br></div>

--000e0ce0b72670ca1704825fba81--
Ofer Kalisky [ Mo, 22 März 2010 09:46 ] [ ID #2035956 ]

Re: Streaming files with apache

On Mon, Mar 22, 2010 at 4:46 AM, Ofer Kalisky <kalisky [at] gmail.com> 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 <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Jeff Trawick [ Mo, 22 März 2010 12:13 ] [ ID #2035962 ]

Re: Streaming files with apache

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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Nick Kew [ Mo, 22 März 2010 12:18 ] [ ID #2035963 ]
Webserver » gmane.comp.apache.user » Streaming files with apache

Vorheriges Thema: mem_cache issue.
Nächstes Thema: ApacheCon NA 2010 HTTP Server Track Call for Participation