kindquiet素食勤俭敬老孝慈

nginx perl cgi错误排除

nginx执行perl cgi报错:

Error: No such CGI app - may not exist or is not executable by this process.

排除权限问题。修改nginx配置文件,增加如下配置:

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;

故障排除。