rovida Posted March 19, 2024 Posted March 19, 2024 Dear, I wrote my first banal script x.py but I am not able to make it work.... could you please help? Thanks Rovida #!/usr/bin/python3.10 print("Content-Type: text/html\n\n") print("Heliohost rules!") Quote
wolstech Posted March 19, 2024 Posted March 19, 2024 Your cgi-bin folder's permissions were incorrect (should be 750, yours were 744), your x.py file had incorrect line endings (must be unix line endings, your file was of type none), and your .htaccess was invalid (Options +Indexes is not supported). The script is working now: http://rovida.helioho.st/cgi-bin/x.py 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.