Hello, I have a need to create a mod_perl module that will treat .ZIP or .TAR file as virtual filesystem for static content (please don't suggest kernel-space and user-space filesystems for this task!). So that any request coming to a resource located under some root (say the magic root is /myfs/ and request path is /myfs/somedir/my.jpg), will be served from .ZIP or .TAR file - in this case, somedir/my.jpg will be read from that archive. The path to archive will be tunable. Questions: 1) Do you know something like this in CPAN? 2) Do you know Apache native modules for something like this? 3) If nothing similar exists on CPAN - does Apache and ModPerl APIs allow to write handlers that will accept requests for byte ranges (i.e. will it be possible to write resuming download of the file resinding inside the archive)? Thank you very much for your answer in advance!

In reply to module for Apache to serve static file from TAR or ZIP file? by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.