#问题描述
一个网上down的源码登录后打开地址为如下,响应404.
localhost/admin/apply/platform_management
手动把地址改为如下 返回正常页面
localhost/index.php/admin/apply/platform_management
#按照他的配置说明nginx的配置如下,麻烦各位大哥帮忙看看
server {
listen 80;
server_name _;
autoindex on;
index index.html index.htm index.php;
root D:/phpEnv/server/nginx/html/;
access_log logs/access.log;
location = /favicon.ico {
log_not_found off;
access_log off;
}
# 以下是文档提示的配置方法
location / {
try_files $uri $uri/ /index.php?$args;
}
}