Re: Streaming files
Dan Ullom <[email protected]>
| Newsgroups | gmane.comp.apache.mod-perl |
|---|---|
| Message-ID | <CACriD4wCKVUAgU48A7LK3AB8ydtOHEsHhaRzPw9uwxnTvs-U3w@mail.gmail.com> |
You could put the files behind Nginx and use your mod_perl web app as an external authentication service. I've never done it but it doesn't look too hard. On Fri, Aug 16, 2019, 12:25 PM John Dunlap <[email protected]> wrote: > In Java servlets, I can stream a file back to the browser one chunk at a > time. This has 2 benefits which interest me. > 1) Files can be stored outside the web root so users cannot download them > unless they are logged in, even if they know the path. > 2) Large files can be streamed back to the client without having the > entire file loaded into memory at the same time > > How would you recommend achieving similar functionality in mod_perl? > > -- > John Dunlap > *CTO | Lariat * > > *Direct:* > *[email protected] <[email protected]>* > > *Customer Service:* > 877.268.6667 > [email protected] >
100x60.png
(image/png, 2.1 KB) - not displayed