Jump to content

[Solved] Totally A Newbie - Running Python On Ricky Would Cause 500 Error


jwdmo

Recommended Posts

Hi everyone.

 

 

it's been a day Im really trying to find out why I couldn't run python on ricky, indeed I checked this forum many times and I looked for similar cases but nothing special found!

 

by the way I think it's good to mention that I changed file permission to 0755 also .py file is located in cgi-bin folder.

 

 

 

#!/usr/bin/python3.6

print("Content-Type: text/html\n\n")

print("Heliohost rules!")

 

 

and this is what I used to test the code.

 

 

user:jwdmo

server: ricky

 

Thank you.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...