📅  最后修改于: 2022-03-11 14:51:15.112000             🧑  作者: Mango
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