httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alessandro Re <...@ale-re.net>
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 <nick@webthing.com> wrote:
[cut]

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:
(/home/user/public_html/cgi-bin)

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

Thanks again,
cheers
~Ale

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message