在APACHE去除index.php 支持thinkphp和yii
2017-02-14 10:32
656 查看
.htaccess修改
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
</IfModule>
相关文章推荐
- 让你的WEB服务支持https
- Apache Isis 1.4.0 发布,领域驱动开发框架
- kindeditor 批量上传 上传失败 thinkphp swfupload session
- RH436 Day3 课后总结
- Linux快速构建apache web服务器
- Awstats处理多apache日志
- 安装perl模块小窍门
- Apache静态编译与动态编译的区别
- LAMP中的apache源码包安装
- apache扩展模块安装
- 如何使用 Apache Web 服务器配置多个站点
- PHP+Apache在Windows 9x下的安装和配置
- Apache服务器配置全攻略
- Apache Web让JSP“动”起来
- Linux Apache+MySQL+PHP