Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nginx 1.10.2 &mysql 5.1.73 &PHP 5.6.29 登录后台出现404错误 #543

Closed
tsingui opened this Issue Feb 23, 2017 · 5 comments

Comments

Projects
None yet
5 participants
@tsingui
Copy link

tsingui commented Feb 23, 2017

1. 该问题的重现步骤是什么?

登录后台管理出现404错误,怎么登录进步了,前台首页正常显示,但关于页面也是找到404错误。

2. 你期待的结果是什么?实际看到的又是什么?

期待正常使用。

3. 问题出现的环境

  • 操作系统版本:Linux(嵌入式设备,路由tomato ARM,内核2.6.34)
  • Apache/NGINX 版本:nginx 1.10.2
  • 数据库版本:mysql 5.1.73
  • PHP 版本:5.6.29
  • Typecho 版本:github 上最新版,老版本也是一样。
  • 浏览器版本:Firefox 51.0.1最新版本

页面空白,404错误,产生连接地址MD5值

@FaithPatrick

This comment has been minimized.

Copy link

FaithPatrick commented Feb 23, 2017

Nginx的伪静态规则没有配置好,参考官方的nginx配置信息。

@jeklau

This comment has been minimized.

Copy link

jeklau commented Mar 4, 2017

如果你用的是lnmp.org的一键包,将 include enable-php.conf; 替换为 include enable-php-pathinfo.conf;

@tsingui

This comment has been minimized.

Copy link
Author

tsingui commented Mar 4, 2017

多谢各位指导,已解决,确实是伪静态出问题!

@fenbox fenbox closed this Mar 5, 2017

@hxdyj

This comment has been minimized.

Copy link

hxdyj commented Sep 6, 2017

@jeklau 请问我配置伪静态无效是为什么啊,可以帮我看一下吗?
server { listen 80; #listen [::]:80; server_name www.wingblog.top; index index.html index.htm index.php default.html default.htm default.php; root /home/wwwroot/typecho; include typecho.conf; include enable-php-pathinfo.conf; include typecho2.conf;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.