Jump to content

Recommended Posts

Posted

running a really simple program (I'm sure it's correct and I set the permissions to 755) I got a 500 error with these logs:

[Sun Jun 21 05:12:37.640994 2026] [cgid:error] [pid 3670148:tid 3673409] [client 78.208.229.145:0] AH01215: stderr from /home/pavlik.helioho.st/httpdocs/cgi-bin/zero_3.14.py: failed to open log file /var/log/httpd/suexec_log, referer: https://pavlik.helioho.st/cgi-bin/
[Sun Jun 21 05:12:37.643945 2026] [cgid:error] [pid 3670148:tid 3673409] [client 78.208.229.145:0] AH01215: stderr from /home/pavlik.helioho.st/httpdocs/cgi-bin/zero_3.14.py: fopen: Permission denied, referer: https://pavlik.helioho.st/cgi-bin/
[Sun Jun 21 05:12:37.643984 2026] [cgid:error] [pid 3670148:tid 3673409] [client 78.208.229.145:0] End of script output before headers: zero_3.14.py, referer: https://pavlik.helioho.st/cgi-bin/

 

Posted

It's trying to open or write to /var/log/httpd/suexec_log which your account doesn't have access to that folder. You're only allowed to access files in your own home directory.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...