Hello, I'm fairly new to running scripts on servers, so I've a few doubts.
Firstly, if I've a simply python script and I save it in my /cgi-bin folder (yes, my server has python support) how would I run it?
Do I have to make it executable using chmod? I think that this is needed for almost all executable scripts but my hosting service doesn't say this. They also say that I don't have to update my path at the top of the script because they automatically set it for scripts in the folder.
If python scripts on servers need any other includes, or such things, just lemme know.
Yes, the script needs to be executable. Use chmod and set it to 755.
I don't work with Python, so I don't know if it requires any special includes for cgi scripts. (This forum area is almost entirely Perl related questions)
If the script is in your cgi-bin folder and assuming your host hasn't setup any special url rewrite rules, the url to call your script would be: