Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: highleaf on July 01, 2003, 07:18:53 AM

Title: how to run CGI python on SME 5.6 ?
Post by: highleaf on July 01, 2003, 07:18:53 AM
Hello,
I don't know how to run CGI script in Python !
Is it possible in the primary website ? Is mod_python required ?

Thank you
Title: Re: how to run CGI python on SME 5.6 ?
Post by: Michael P. Soulier on July 02, 2003, 06:03:27 AM
highleaf wrote:
>
> Hello,
> I don't know how to run CGI script in Python !

The same way you run one in perl. Just specify the python interpreter instead.

> Is it possible in the primary website ? Is mod_python
> required ?

Yes, and no.

http://opag.ca is nothing but Python, and running on a 5.6 server. CGI doesn't care what language you use.

Mike
Title: Re: how to run CGI python on SME 5.6 ?
Post by: highleaf on July 02, 2003, 06:23:26 PM
Sorry, I've found...We can execute CGI in Perl, Python...I've forgotten to transfert in ASCII my CGI files...it's ok now...Thank you.
Title: Re: how to run CGI python on SME 5.6 ?
Post by: Michael Soulier on July 02, 2003, 06:34:52 PM
highleaf wrote:
>
> Sorry, I've found...We can execute CGI in Perl, Python...I've
> forgotten to transfert in ASCII my CGI files...it's ok
> now...Thank you.

Why not just mount the ibay in question instead of transferring via ftp? There is a smb mount that goes along with every ibay, and you can just map it as a network drive in windows.

Cheers,
Mike