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

管理员登录时报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 人关注

相关问题

可否设置游客禁止访问,转入登录页面?
为什么游客见到的目录和 登录见到的目录不一样?
与 QQ 通信出错, 请重新登录
会员登录手机版,手机上发起问题时,选择话题那里是否存在设计上的问题?
登录不了mp.wecenter.com,密码没有输错啊
微信服务号绑定成功后,点击登录出错了
安装完anwsion 登录出问题 登录管理也出问题 首页提示如下
原来白名单和黑名单只是针对于用户是否登录的
如何将首页的登录和注册移到最右边
第三方登录问题,求大神来解答

推荐内容

关于近期问阿里云如何安装WECENTER的提示。
wecenter安装出现问题
更新威望数据 出错。。
请问这个程序有没有其他的模版,如何安装?
Docker安装和部署WeCenter3.3.5开源问答平台
安装wecenter提示:SQL: SELECT `aws_system_setting`.* FROM `aws_system_setting`
ask.icheruby.com 安装后无法正常使用
数据库地址 账号 密码 数据库名称 正确为什么安装不成功
Centos7部署WeCenter问答系统遇到的一些问题以及解决方法
这个系统能装到百度开放云上吗?