PHP and CGI on UserDir

Smart Goldman ytlec2014 at gmail.com
Sun Nov 29 09:12:24 UTC 2015


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 <anoopalias01 at gmail.com>:

> What does the nginx error log (  /var/log/nginx/error.log) say when you
> access a php page?
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20151129/3733cc75/attachment.html>


More information about the nginx mailing list