从一个zip文件的内容让Apache虚拟目录 [英] Make Apache virtual directory from the contents of a zip file

查看:164
本文介绍了从一个zip文件的内容让Apache虚拟目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一对夫妇与静态HTML内容融为一体pressed zip文件(如文档的目录树,链接到对方几个静态的HTML页面,图片,CSS等)例如,拉链的javadoc文件可以作为我的目的等效例子。

I have a couple of compressed zip file with static HTML content (e.g. a directory tree of documentation with several static html pages that link to each other, images, css, etc.) For instance, the javadoc zip file serves as an equivalent example for my purpose.

我的问题是,如果有一个Apache模块,可以让Apache将摩的一个zip文件作为虚拟目录,其内容是那些zip文件。该操作系统在我主持的Apache为Mac OS X雪豹。

My question is, if there's an apache module that would allow apache to "mount" a zip file as a virtual directory, whose contents are those of the zip file. The operating system in which I'm hosting apache is Mac OS X Snow Leopard.

推荐答案

有一个的 FUSE ,该通过的的zip文件系统 =HTTP ://$c$c.google.com/p/macfuse/相对=nofollow> MACFUSE 项目。这将让你安装通过安装命令一个zip文件,从而使阿帕奇 - 或任何其他应用程序 - 访问的内容作为一个正常的目录

There is a zip filesystem for FUSE, which is supported on OS X via the MacFUSE project. This will let you mount a zip file via the mount command, thus allowing Apache -- or any other application -- to access its contents as a normal directory.

我没有我的Mac得心应手的时刻,所以我不能真正对其进行测试。

I don't have my Mac handy at the moment so I can't actually test it out.

这篇关于从一个zip文件的内容让Apache虚拟目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆