man95 Posted August 22 Posted August 22 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
wolstech Posted August 22 Posted August 22 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.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now