run python script as CGI

Michael R Head burner at
Fri Jun 3 18:57:58 UTC 2005

On Fri, 2005-06-03 at 20:14 +0200, Hervé Cauwelier wrote:

> Vinicius Franco do Nascimento a écrit :
> > can u help me?
> What help do you need? :-)
> Blindly, I would tell you to check if the script has the "executable" 
> bit set. Also, check why your script call python from /usr/local/bin and 
> if you really have python installed in /usr/local (usually because of 
> hand-made installation). If not, just call /usr/bin/python.

It's usually best to do:
#/usr/bin/env python

> It's easier to help people when you know what problem occur and what 
> they have already tried. :-)
> -- 
> Hervé Cauwelier

Michael R Head <burner at>
GPG: (ID 23A02B1F)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the ubuntu-users mailing list