virtuala Posted September 21, 2020 Posted September 21, 2020 (edited) Hi. I'm trying to write a page in Python CGI. The hello world works, but when I edit the file, I often get "Internal Server Error", but I don't know the cause. Is there an error console or an option to print the error to the generated html? Edited September 21, 2020 by virtuala Quote
Krydos Posted September 21, 2020 Posted September 21, 2020 You can sometimes get some error log information from this page https://johnny.heliohost.org:2083/frontend/paper_lantern/stats/errlog.html but if you post the URL or path to your script an admin can sometimes get more useful information for you. The reason you can't access the detailed error logs directly is because you're on a shared server with thousands of other users, and there may be private information in the detailed error logs. If you want direct access to all of the logs you could consider getting a VPS https://www.heliohost.org/vps/ where you'll have root ssh access to run your scripts and view all the logs. One of the most common reasons for 500 errors is trying to load modules that aren't installed. You can see the modules that are currently installed on Johnny at https://krydos2.heliohost.org/cgi-bin/modules27.py https://krydos2.heliohost.org/cgi-bin/modules37.py 1 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.