![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
thinkphp
锁我喉是吧
这个作者很懒,什么都没留下…
展开
-
ThihnkPHP项目部署到服务器上只能显示主页
ThihnkPHP项目部署到服务器上只能显示主页,点击任何URL都是首页的原因是根目录下.htaccessm文件出了问题,当ThinkPHP项目运行在本地服务器上时内容应该是<IfModule mod_rewrite.c>RewriteEngine onRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]<原创 2021-04-22 21:18:24 · 460 阅读 · 0 评论 -
thinkphp项目部署在phpstudy出错,只有主页能打开
thinkphp项目部署在phpstudy出错Not FoundThe requested URL /About/index/classid/1 was not found on this server.Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.出现该种情况是网站根目录下的.htaccess中没有内容又或内容出错。如下图原创 2021-04-21 16:38:59 · 1877 阅读 · 0 评论