基于 Apache 服务器的文件列表
1. 基于 Apache 服务器的文件列表
1.1. 概述
目标是实现如下图所示的效果:
1.2. 思路
google 搜索: apache file list view
得知关键模块的名称叫: mod_autoindex
这个模块在 Apache 中是默认开启的,所以配置好 apache 常规配置就好了。
1.3. Apache 常规配置
1.3.1. httpd.conf 文件
1.3.1.1. SRVROOT
这个配置 apache 二进制文件的目录,例如:
Define SRVROOT "D:\\tmp_dev\\apache\\httpd\\Apache24"
1.3.1.2. DocumentRoot 和 Directory
这个要写入需要被列举那个目录的路径:
Docum