nginx报403错误

server {
listen 80;
server_name www.test.com;
root /html/test;
error_log /html/test/error.log;
access_log /html/test/access.log;

location /test {
echo "test";
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}

}
错误日志
2015/05/16 10:32:08 [error] 3801#0: *1 directory index of "/html/test/" is forbidden, client: 127.0.0.1, server: www.test.com, request: "GET / HTTP/1.1", host: "www.test.com"
根目录下权限是777,怎么解决

第1个回答  2021-04-05

第2个回答  2015-05-18
这个肯定是权限问题啊, 可能是配置的不正确, 也可能是权限不正确啊 , 看看wo 的网名行吗?一定可以解决的啊 !!!本回答被网友采纳

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网