Koozali.org: home of the SME Server

how to run CGI python on SME 5.6 ?

highleaf

how to run CGI python on SME 5.6 ?
« 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

Michael P. Soulier

Re: how to run CGI python on SME 5.6 ?
« Reply #1 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

highleaf

Re: how to run CGI python on SME 5.6 ?
« Reply #2 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.

Michael Soulier

Re: how to run CGI python on SME 5.6 ?
« Reply #3 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