Home  >  Article  >  Backend Development  >  后台可以打开但无法登陆?

后台可以打开但无法登陆?

WBOY
WBOYOriginal
2016-06-06 20:23:241097browse

可以打开/admin/login.php
但是登陆的时候,无端跳回当前页面。
注册新用户的时候,可以直接进入后台。
密码正确!!

查看post记录直接302跳转

http://xxx/action/login 302 Moved Temporarily

貌似发现什么了

少了个index.php
这个问题出在什么地方???

回复内容:

可以打开/admin/login.php
但是登陆的时候,无端跳回当前页面。
注册新用户的时候,可以直接进入后台。
密码正确!!

查看post记录直接302跳转

http://xxx/action/login 302 Moved Temporarily

貌似发现什么了

少了个index.php
这个问题出在什么地方???

已解决

是我不知道什么时候把登陆地址改错了。。。

你用的nginx吗?在typecho文档有提供解决办法的.

服务器环境设置

目测没设置默认主页

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn