linux+tp3 隐藏index.php

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



在根目录中新建 .htaccess 然后填入上面内容!

版权说明:若无特殊注明,转载请保留文章出处
文章分类: 技术教程
字数统计:本文共有 191 个
本文链接:http://blog.442442.xyz/jishujiaocheng/56.html

标签:

精彩评论

发表评论: