Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以将 Apache httpd 配置为将 zip 文件视为目录。我希望能够将目录树作为 zip 文件和目录提供,但我希望避免将两者都保存在磁盘上。如果可能的话,我只想将 zip 文件放在磁盘上,让 Apache 将它们作为常规目录提供服务,但反过来也可以。
可能不是,因为 zip 是顺序结构的,这意味着如果有人访问 zip 文件中的最后一个文件,则需要读取整个 zip 以提取最后一个文件。