karplus Posted August 7, 2024 Posted August 7, 2024 Hello, in my new tommy account I uploaded some python scripts that worked in previous johnny account, but they don't work, so I restricted the attempts on these 4 test files: https://pyknite.helioho.st/index.html it works with 755 permissions https://pyknite.helioho.st/plesk.html same file (encoding and carriage return) as before but different name, it doesn't work neither with 755 permissions https://pyknite.helioho.st/cgi-bin/index.html does not work ; cgi-bin folder has 750 permissions, file has 755 permissions and unix carriage return as stated here https://pyknite.helioho.st/cgi-bin/test.py does not work, file has 755 permissions, unix carriage return, and it was taken here https://wiki.helionet.org/tutorials/python Why both html and py file return 404 errors? There are no log in web server section. My final goal is to have python files working as in johnny. Thanks you Quote
wolstech Posted August 7, 2024 Posted August 7, 2024 I have a feeling you hadn't waited the full 2 hours for the domain to set up after you created the account. The 404 errors are normal for the cgi-bin folder on new accounts until the domain finishes configuring and Apache restarts. This is working for me and https://pyknite.helioho.st/cgi-bin/test.py is showing the expected result now. Quote
Krydos Posted August 7, 2024 Posted August 7, 2024 Here is the first sentence on the dashboard if your domain hasn't been fully set up yet (that no one ever reads.) Quote
karplus Posted August 7, 2024 Author Posted August 7, 2024 I agree with both of you, everything works now! 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.