📌  相关文章
📜  Apache Webserver 不显示目录列表,但显示 403 - Yosemite - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:15.112000             🧑  作者: Mango

代码示例1
open "/private/etc/apache2/httpd.conf" in an editor. Scroll down until you find this part:


Inside there you'll need to add "Indexes" to your "Options". For me, this meant changing this line:

Options FollowSymLinks Multiviews
To:

Options Indexes FollowSymLinks Multiviews

Then restart apache:

apachectl restart