lnmp环境下ThinkPHP3.2出现404 Not Found的问题
来源:互联网 发布:淘宝拍卖的电脑靠谱吗? 编辑:程序博客网 时间:2024/06/06 09:48
最近在windows上用TP3.2开发了一套系统,其中用到了伪静态,搬到LNMP环境下出现如下问题:
多方查询资料后发现是伪静态问题,解决方法如下:
找到Nginx配置文件,加上
location /
{
index index.php;
#ThinkPHP REWRITE支持
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php?s=$1 last;
}
}
即可。
阅读全文
0 0
- lnmp环境下ThinkPHP3.2出现404 Not Found的问题
- 关于Eclipse C++出现Launch failed,Binary not found问题的解决方案(Win7环境下)
- Servlet 出现404 not found 的问题
- 在ubuntu下出现declare:not found的问题
- 在ubuntu下出现declare:not found的问题
- iis发布后出现 .woff 404 (Not Found)的问题
- 解决网站出现GET .woff 404 (Not Found)的问题
- Fatal error: Class 'Home\Mode\User' not found in /home/.... thinkphp3.2无法找到数据模型类的问题
- 虚拟机linux环境下编译程序时出现 bash:gcc:command not found的解决
- LNMP 安装 thinkcmf提示404not found
- LNMP环境下crontab问题
- lnmp环境下TP3.2.3出现404错误解决办法
- Mac下texshop出现command not found问题
- 在Eclipse下编译C++程序出现的Launch failed.Binary not found.问题的解决方法
- 解决CentOS 7.1上LNMP环境运行Laravel报 404 File not found . 错误。
- thinkphp3.2.X pathinfo 在lnmp下的配置
- mysql数据库 ibatis环境下column "username" not found问题
- MAC 下Command not found以及环境配置问题
- null和undefined的区别?
- zh找不到或无法加载主类
- 单例 封装PHP 数据库连接
- cpu
- Nutch2.X使用入坑总结
- lnmp环境下ThinkPHP3.2出现404 Not Found的问题
- Web/APP项目结构组织
- VS2010+Source Insight +PC-Lint开发环境搭建
- org.apache.ibatis.binding.BindingException: Mapper method 'com... has an unsupported return type
- wpf DoubleAnimation对image控件进行缩放旋转
- 百度音乐api接口
- 欢迎使用CSDN-markdown编辑器
- Java(7-2)
- 最大流 Dinic算法