htaccess如何配置隐藏index.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>

  

posted @ 2022-03-25 23:41  芒果鱼  阅读(31)  评论(0编辑  收藏  举报