rsa16 Posted March 16, 2023 Posted March 16, 2023 Hi! I've already enabled CGI support from Hosting Settings and I placed my script in /httpdocs/cgi-bin/. I also gave the script the neccessary permissions to be executed and yet when I visit the page, https://rehan.heliohost.us/cgi-bin/install.py, it simply returns a 404 with "Not Found". If anyone could help me that would be greatly appreciated. Thank you, Rehan.
rsa16 Posted March 16, 2023 Author Posted March 16, 2023 Never mind, I just had to wait a little bit. Sorry!
Kairion Posted March 17, 2023 Posted March 17, 2023 Hi @rsa16, I am glad you managed to run it. Please also note you can run it outside of the cgi-bin directory if you want it. And since it is a script to show installed modules, you could also be interested in checking that: https://helionet.org/index/topic/55077-python-info-on-heliohost-servers/
rsa16 Posted March 17, 2023 Author Posted March 17, 2023 Oh, I didn't know that was a thing! The script is actually for both purposes, to install modules locally for my user and to show what's installed for me specifically.
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