Live2D

Fastadmin伪静态规则

亲测可用的Fastadmin伪静态规则,做一个记录,防止下次部署伪静态又报错了,如果有需要的复制即可用.
伪静态
Nginx伪静态规则

if (!-e $request_filename) {
    rewrite  ^(.*)$  /index.php?s=/$1  last;
    break;
}

Apache伪静态规则

<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>

 

posted @ 2022-01-18 17:14  wekyun  阅读(2312)  评论(0编辑  收藏  举报