将httpd的配置文件 /etc/httpd/conf/httpd.conf中找到:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>

改为:
<Directory />
Options Indexes FollowSymLinks
AllowOverride None
</Directory>