pavlik Posted 6 hours ago Posted 6 hours ago 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/ Quote
MoneyBroz Posted 5 hours ago Posted 5 hours ago 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. Quote
pavlik Posted 1 hour ago Author Posted 1 hour ago That's crystal clear, I got it too. The real problem is where do I have to configure Python 3.14 so that it writes correctly in my logs? Translated with https://laratranslate.com Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.