1、打開註釋:
# Fancy directory listings
#Include /Applications/MAMP/conf/apache/extra/httpd-autoindex.conf
Include /Applications/MAMP/conf/apache/extra/httpd-autoindex.conf
2、修改文件: /Applications/MAMP/conf/apache/extra/httpd-autoindex.conf
#
# IndexOptions: Controls the appearance of server-generated directory
# listings.
#
#IndexOptions FancyIndexing HTMLTable VersionSort
IndexOptions FancyIndexing HTMLTable FoldersFirst Charset=UTF-8 NameWidth=*
3、重啓服務器