Centos下打开文件系统 ,依次打开:/etc/httpd/conf/httpd.conf,打开httpd.conf
或者:在终端输入: vi /etc/httpd/conf/httpd.conf
找到:
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
改为
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
就可以了