This solution ended up being perfect, and SIMPLE. I just had to
sprinkle a little Mime::FileInfo::Magic over the request, to get the
content-type to work right, and POOF! it worked. Just like that. My
entire wrapper code (without the accounting, ACL, and somesuch stuff) is
under 10 lines, and
Torsten Foertsch wrote:
On Fri 22 Feb 2008, Victor Danilchenko wrote:
or to grab a given file from disk?
Perhaps $r->sendfile($filename)? Defined in Apache2::RequestIO.
There is precious little documentation on it, so I will have to
experiment with it a little, but this sounds like it migh
Michael Peters wrote:
Victor Danilchenko wrote:
Is there any way, to, uhhh, tell Apache programatically to simply
slurp up the file from an open filehandle
I could be wrong, but I doubt you can pass a Perl file handle to a C program
that is not Perl aware (like Apache).
I am hoping you
On Fri 22 Feb 2008, Victor Danilchenko wrote:
> or to grab a given file from disk?
Perhaps $r->sendfile($filename)? Defined in Apache2::RequestIO.
Torsten
Victor Danilchenko wrote:
> Is there any way, to, uhhh, tell Apache programatically to simply
> slurp up the file from an open filehandle
I could be wrong, but I doubt you can pass a Perl file handle to a C program
that is not Perl aware (like Apache).
> or to grab a given file from
> disk?