配置htaccess文件隐藏index.php
收藏
用于在apache环境下面隐藏URL地址中的index.php
| <IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
|
最新评论
· · · · · ·
(共0条)
目前还没有评论