run python script as CGI

Michael R Head burner at suppressingfire.org
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
> http://www.oursours.net/
> 
> 

-- 
Michael R Head <burner at suppressingfire.org>
GPG: http://www.suppressingfire.org/~burner/gpg.key.txt (ID 23A02B1F)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050603/d4685954/attachment.html>
-------------- 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: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050603/d4685954/attachment.sig>


More information about the ubuntu-users mailing list