thinkPHP 5/thinkPHP 5.1 的apache重写文件

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

  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php?s=$1 [QSA,PT,L]
  
</IfModule>
posted @ 2019-12-26 11:33  大雨大雨大雨  阅读(296)  评论(0编辑  收藏  举报