原因:apache的重写未开启,开启重写后,问题解决,
方法如下:
1 apache 打开 httpd.conf 文件 找到AllowOverride None 改为 AllowOverride All