PHP头条
热点:

CodeIgniter利用伪静态隐藏index.php


CodeIgniter要想实现这个功能,服务器必须支持伪静态。

新建一个.htaccess文件,内容如下:

1 2 3 RewriteEngine on RewriteCond $1 !^(index\.php|robots\.txt) RewriteRule ^(.*)$ index.php/$1 [L]

www.phpzy.comtrue/phpkj/11628.htmlTechArticleCodeIgniter利用伪静态隐藏index.php CodeIgniter要想实现这个功能,服务器必须支持伪静态。 新建一个.htaccess文件,内容如下: 123 RewriteEngine onRewriteCond $1 !^(index\.php|robots\.txt)RewriteRule ^(.*)$...

相关文章

相关频道:

PHP之友评论

今天推荐