
在nginx下已经配置好虚拟目录但是访问test1还是显示404 Not Found
server{listen80;server_nametest1;access_logoff;#access_loglogs/active.access.log;inde...
server
{
listen 80;
server_name test1;
access_log off;
#access_log logs/active.access.log;
index index.html index.php index.htm;
root /opt/wifi/public/manage;
location ~ .*\.php?$
{
include fcgi.conf;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
配置如上。求大神说下这配置有什么问题。 展开
{
listen 80;
server_name test1;
access_log off;
#access_log logs/active.access.log;
index index.html index.php index.htm;
root /opt/wifi/public/manage;
location ~ .*\.php?$
{
include fcgi.conf;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
配置如上。求大神说下这配置有什么问题。 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询