Sorry I forgot error log.

CGI outputs 2015/11/29 04:01:07 [error] 2618#0: *6 open()
"/home/user/public_html/index.cgi" failed (2: No such file or directory),
client: 119.105.136.26, server: localhost, request: "GET /~user/index.cgi
HTTP/1.1", host: "host.domain.com"

PHP outputs nothing to error.log.

access.log says:
119.105.136.26 - - [29/Nov/2015:04:01:07 -0500] "GET /~user/index.cgi
HTTP/1.1" 404 570 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64)
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36"
119.105.136.26 - - [29/Nov/2015:04:08:23 -0500] "GET /~user/index.php
HTTP/1.1" 200 20 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0;
rv:11.0) like Gecko"

2015-11-29 17:28 GMT+09:00 Anoop Alias <[email protected]>:

> What does the nginx error log (  /var/log/nginx/error.log) say when you
> access a php page?
>
> _______________________________________________
> nginx mailing list
> [email protected]
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to