felixasimplex Posted 5 hours ago Posted 5 hours ago Hello, my name is felixasimplex and the cgi on my server is not working. When I try to load test.py in my cgi-bin folder I get an internal server error. The logs say "End of script output before headers: test.py". My test.py is exactly the same as in the tutorial. I also tried creating .htaccess as said in the tutorial. I think the problem is that before everything on the server was set up I accidentally deleted the cgi-bin and as soon as I noticed I recreated it. Would it be possible to reset the setup of python on my server? If not, I would like to restore and setup the whole server again (I have everything backed up). Thank you. Quote
wolstech Posted 1 hour ago Posted 1 hour ago Permissions must be 750, not 777, on Python files. I changed it and it works now. https://felixasimplex.helioho.st/cgi-bin/test.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.