该问题已被锁定!
2
关注
3424
浏览

管理员登录时报404

AI智能回复搜索中,请稍后...

查看全部 2 个回答

zhangqing113 初级会员 用户来自于: 安徽省合肥市
2021-08-23 08:59

还是伪静态的问题,少写了几行代码


user www;
worker_processes 1;
events {
worker_connections 1024;
}


http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;

server {
listen 80;
server_name www.yelook.com;
root /home/www/htdocs;

location / {
index index.html index.htm index.php;
autoindex on;
if (!-e $request_filename)
{
rewrite ^(.*)$ /index.php;
}
}

error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_split_path_info ^((?U).+\.php)(/?.+)$;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;

include fastcgi_params;
}
}
}

貌似就少了这2行。加上就ok了。

不容易



关于作者

问题动态

发布时间
2021-08-20 16:03
更新时间
2021-08-23 15:10
关注人数
2 人关注

相关问题

管理员帐号无法登录
找到新浪微博登录无法连接的原因了,请问怎么解决?
手机版qq登录
刚刚发布的1.1版不能登录?
问题被编缉后,发起者确认了,是不是就不需要经过管理员再次确认了?
[解决]升级到2.5.1,管理员身份全没了,后台怎么进呢
微信登录的问题
用户反应:在手机上登录不易,原因:输入用户名后,把手移到密码位置,会自动刷新,刚输入的用户名又清空了!是不是有这个现象?
1.01版如何增加QQ登录
急:升级3.1.9后无法登录怎么办?

推荐内容

这个系统能装到百度开放云上吗?
安装时提示× WeCenter 至少需要有 GD 图象处理库才能正常运行
关于近期问阿里云如何安装WECENTER的提示。
wecenter安装出现问题
误删install.lock.php,除了重装,还有其他方式么
安装过程中 添加管理员账户后就报http500错误(和图片上邮件地址未填无关),具体内容怎么看
关于wecenter 3.2.0的安装问题,一直不成功,是什么原因?
发生错误 返回的信息 ucenter client not installed 如何解决?
更新威望数据 出错。。
更换安装目录的话,应该怎么操作?