摘要: 隐藏index.php一、codeignitercodeigniter和许多php框架一样,有个单一入口index.php,从url上看,显得很不友好。通过apache的rewirte,是可以隐藏掉的,实现伪url。 打开codeigniter下system\application\config中的config.php 找到$config['index_page'] = "index.php"; 改为 $config['index_page'] = ""; 修改apache conf下的配置文件 httpd.conf # 阅读全文
posted @ 2013-09-29 11:00 jshaibozhong 阅读(904) 评论(0) 推荐(0) 编辑