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

管理员登录时报404

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

为什么被折叠? 0 个回复被折叠
fanta 超级管理员 用户来自于: 安徽省合肥市
2021-08-23 15:10

使用集成面板安装,如宝塔,小皮等,那里有集成的配置,包括伪静态

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 人关注

相关问题

貌似wecenter整合uc后,可以接收UC的登录退出指令,但是却无法向UC发出指令
验证码不显示,前两天还行的,现在登录不了后台了
r2r3有动ucenter或cookie相关代码么?现在wp登录后单向同步不到anwsion
管理员后台的统计数据无用!
谁有火车头免登录发布接口呀?大概多钱?
密码是怎么加密的?想post登录
【问题已解决】wordpress与anwsion登录状态同步?
在哪里开启没有帮助功能,现在默认只有管理员才能点击
2.15.16版本在ie8下重复登录
后台登录不了

推荐内容

这个问题怎么解决?
ask.icheruby.com 安装后无法正常使用
wecenter安装出现问题
安装跳转不了下一步
3.19版本上传了为什么解压出来只有4K啊
这个系统能装到百度开放云上吗?
更换安装目录的话,应该怎么操作?
安装完成后, 访问192.168.*.*/install/ 提示“您的程序已经安装, 要重新安装请删除 system/config/install.lock.php ”
安装时提示× WeCenter 至少需要有 GD 图象处理库才能正常运行
新手安装出现服务器不支持怎么解决?