在apache的配置文件httpd.conf里定义了对网站根默认的访问权限
#
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
改为
<Directory />
Options Indexes FollowSymLinks
AllowOverride None
</Directory>
问题解决