tp5打包到服务器踩坑——只有index模块能够被访问

只有index模块能够被访问 问题:只有index控制器中的index方法能够被访问,其余都不存在php 解决:找到站点的伪静态文件,或在根目录建立.htaccess文件并写入如下内容iview <IfModule mod_rewrite.c> Options +FollowSymlinks -Multiviews RewriteEngine on RewriteCond %{REQUEST_FI
相关文章
相关标签/搜索