我在哪里可以找到 Debian 上 Apache 2 的 'Index of /' 页面?

Where can I find the 'Index of /' page of Apache 2 on Debian?

它是预先设计的页面还是生成的?请注意,我说的是列出目录时您看到的页面,而不是默认的 Apache 页面。

当找不到有效的 DirectoryIndex 文件时,Apache 将动态生成“Index of /”页面。你可以customise it to an extent with mod_autoindex,但不是特别简单。

对于基本定制,请查看 Perishable Presses Better Default Directory Views with HTAccess。来自文章:

While there are many scripts available to customize the appearance and functionality of default directory navigation, most of these methods are either too complicated, too invasive, or otherwise insufficient for expedient directory styling. In this comprehensive tutorial, you will learn how to use the built-in functionality of Apache's mod_autoindex module to style and enhance your default directory views with a smorgasbord of stylistic and functional improvements.

这篇文章大约有 13 年历史,但概述的方法继续适用于现代版本的 Apache。