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

管理员登录时报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 3.1.7 输入管理员帐号密码就报500错误
在登录页输入用户名和密码后按回车返回页面不对
现在申请QQ登录的网站接入也需要回调地址了
Warning: strstr() 换上Metro风格之后发现无法登录
登录后跳出一个比较丑的跳转画面,官网怎么没有呢?
除了前后台管理员之外,其他会员能添加“最佳回复”和“折叠”的权限吗?
uc浏览器登录不了,麻烦看下什么情况
怎么修改注册登录页面?
微信登录用户收不到注册验证邮件!
网站无法登录怎么办???

推荐内容

autosize is not a function
发生错误 返回的信息 ucenter client not installed 如何解决?
如何让代码与储存空间分离?
关于近期问阿里云如何安装WECENTER的提示。
这个问题怎么解决?
安装跳转不了下一步
ask.icheruby.com 安装后无法正常使用
安装wecenter提示:SQL: SELECT `aws_system_setting`.* FROM `aws_system_setting`
请问这个程序有没有其他的模版,如何安装?
wecenter安装出现问题