CI去掉index.php
来源:互联网 发布:gis软件好学吗 编辑:程序博客网 时间:2024/05/21 09:47
知识补充:
DOC命令重命名
ren abc.txt .htaccess
1. 开启apache的重写功能;
2.在站点的根目录下新建文件.htaccess
//建议将站点放在www/mysite/index.php这样的目录下:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
3.修改config.php
$config['index_page'] = "index.php"; 改为
$config['index_page'] = "";
好了
0 0
- CI去掉index.php
- CI去掉index.php
- CI去掉index.php
- CI去掉index.php
- php ci 去掉index.php
- PHP CodeIgniter(CI)去掉 index.php
- 去掉 CI 框架中的 index.php
- CI去掉网址中的index.php
- Codeigniter(CI) 去掉 URL 中的 index.php
- CI中如何去掉index.php
- 去掉CI默认url中的index.php
- 去掉CI默认url中的index.php
- CI框架路由去掉index.php
- 去掉php框架CI默认url中的index.php
- 去掉php框架CI默认url中的index.php
- PHP CI(CodeIgniter) 如何去掉url中的index.php
- PHP CodeIgniter(CI)框架中去掉 index.php方法
- 如何去掉CI (codeigniter)url中的index.php
- 4、Objective-C语法之Category的使用
- 大数据的电花火石!
- MySQL根据生日计算年龄
- C++ STL容器适用情况的说明
- 音频编解码技术零基础学习方法
- CI去掉index.php
- request.getParameter() 、request.getInputStream()和request.getReader() 使用体会
- 5、Objective-C语法之代码块(block)的使用
- JSP内置对象
- OR1200数据Cache的通写、回写应用举例
- DIV与SPAN之间有什么区别
- 获取其他程序的信息(VC实现)
- 粤语学习
- maven-2-生命周期