man95 Posted August 22, 2024 Posted August 22, 2024 Hello I try to run python script, I've follow every instruction from heliohost wiki page : https://wiki.helionet.org/tutorials/python this what log says : GET /tes.py HTTP/1.0 failed to open log file /var/log/httpd/suexec_log: /home/man95.heliohost.us/public_html/tes.py fopen: Permission denied: /home/man95.heliohost.us/public_html/tes.py End of script output before headers: tes.py GET /favicon.ico HTTP/1.0 Quote
wolstech Posted August 22, 2024 Posted August 22, 2024 You didn't follow the directions correctly. The shebang line was wrong (needs to be #!/usr/bin/python3.12 on Johnny since 3.10 no longer exists there), and Python scripts need to be in the cgi-bin folder. https://man95.heliohost.us/cgi-bin/tes.py is working for me. 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.