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!