Re: PHP and CGI on UserDir

2015-12-02 Thread Smart Goldman
Hi Francis, 2015-12-02 5:50 GMT+09:00 Francis Daly : > On Wed, Dec 02, 2015 at 01:52:06AM +0900, Smart Goldman wrote: >> 2015-11-29 20:10 GMT+09:00 Francis Daly : >> > On Sun, Nov 29, 2015 at 05:04:50PM +0900, Smart Goldman wrote: > > Hi there, > >>

Re: PHP and CGI on UserDir

2015-12-01 Thread Smart Goldman
Hi Francis Daly and Aleksandar Lazic, I am sorry I am late. 2015-11-29 20:10 GMT+09:00 Francis Daly : > On Sun, Nov 29, 2015 at 05:04:50PM +0900, Smart Goldman wrote: > > Hi there, > >> I try to enable PHP and CGI(Perl) on UserDir (/home/user/public_html) with >> nginx.

Re: PHP and CGI on UserDir

2015-11-29 Thread Smart Goldman
is not executable by this process." and outputs nothing to error.log. - /home//public_html/~user/... I think this path is wrong and I tried to fix this path but I could not. /home/user/public_html/ should be correct path.. 2015-11-29 18:41 GMT+09:00 Aleksandar Lazic : > Hi Smart Goldman

Re: PHP and CGI on UserDir

2015-11-29 Thread Smart Goldman
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.l

PHP and CGI on UserDir

2015-11-29 Thread Smart Goldman
Hello. I am new here. I try to enable PHP and CGI(Perl) on UserDir (/home/user/public_html) with nginx. But on my Chrome, PHP script is downloaded and CGI script shows me "404 Not Found" page. Here's my configurations. What is wrong with my configurations? OS: Linux 3.10.0 / CentOS 7 64bit nginx