Free python server.

Craig Ringer craig at postnewspapers.com.au
Thu Jan 13 15:20:07 EST 2005


On Thu, 2005-01-13 at 19:07 +0100, rootshell at gazeta.pl wrote:
> Thank you very much.
> Arbornet.org seems to be ok
> Unforutnately I was convinced that I only have to only copy my *.py file to 
> /public_hml directory and everything will be all right.

Your file probably need to (a) be in the cgi-bin, not public_html, (b)
be flagged executable ("chmod a+x file.py"), and (c) begin with the
line: '#!/usr/bin/env python'

If the server doesn't provide you with CGI (or, strongly preferable,
SCGI or mod_python), you're probably out of luck.

-- 
Craig Ringer




More information about the Python-list mailing list