Is it possible to make Apache to treat zip files and other archive files as directories in some certain directories?
-
You could fuse-mount the archive, but what are you trying to achieve? Making Apache read data from an archive will not automatically compress the outgoing data.– Ken SharpJan 3, 2016 at 20:50
-
@KenSharp I'm just seeking for a way to conveniently upload files. It's not for productive usage, so performance does not matter here.– xuhdevJan 3, 2016 at 21:00
Add a comment
|
1 Answer
There seems to be this older apache module (no idea if it still works with current apache versions): http://modzipread.sourceforge.net/
Is using PHP an option? PHP includes a library for opening ZIP files by default: http://php.net/manual/en/book.zip.php I'm sure that there are several sample zip browsers floating around