httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Re <>
Subject Re: [users@httpd] Cannot run CGI scripts in user directory
Date Sun, 22 May 2016 12:10:28 GMT
On Sun, May 22, 2016 at 6:03 AM, Nick Kew <> wrote:

Nick, thanks for your help, but in the end I solved.

It was an issue with the permissions, that involved the suEXEC
mechanism. I didn't know about suexec and I found out that some
relevant information goes in the system log instead of the apache
error log, in fact

# journalctl -b | grep "suexec"
May 22 11:43:12 caladan suexec[5397]: uid: (1000/user) gid:
(1000/user) cmd: test.cgi
May 22 11:43:12 caladan suexec[5397]: directory is writable by others:

I just had to change ~/public_html/cgi-bin directory permission to
755. It was 775 and I didn't realize it.

Thanks again,

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message