学无先后,达者为师

网站首页 PHP其他 正文

fastadmin windows api 404错误问题 phpstudy

作者:左手江湖 更新时间: 2022-01-29 PHP其他

<IfModule mod_rewrite.c>
Options +FollowSymlinks -Multiviews
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>

伪静态需要在phpstudy对应网站下伪静态设置,否则api访问404

原文链接:https://blog.csdn.net/shaofei1986/article/details/121511456

栏目分类
最近更新