[Zope] zope & cgi
Doyon, Jean-Francois
jdoyon at NRCan.gc.ca
Fri Jun 8 15:36:50 EDT 2007
OK, so use popen() or system() or the commands module as someone suggested.
This is all python stuff that has nothing to do with Zope though.
The Virtual Hosting stuff doesn't apply to your question.
J.F.
________________________________
From: sergio diaz [mailto:kanetesdm at hotmail.com]
Sent: June 8, 2007 15:11
To: Doyon, Jean-Francois
Cc: zope at zope.org
Subject: RE: [Zope] zope & cgi
Hello,
I am trying execute binary programs from zope. Once I achieve it, I will can execute binary programs for send jobs into the Grid throght DRMAA binary programs that it tie with GridWay. After that, GridWay tie with Globus but I don't want to conect with Globus directly.
I will go to see the Virtual Hosting and Python library.
best regards
________________________________
From: "Doyon, Jean-Francois" <jdoyon at NRCan.gc.ca>
To: "sergio diaz" <kanetesdm at hotmail.com>,<lists at zopyx.com>
CC: <zope at zope.org>
Subject: RE: [Zope] zope & cgi
Date: Fri, 8 Jun 2007 14:56:14 -0400
If what you mean is you want to be able to execute HTTP requests to other CGI's or run system commands, then this isn't Zope specific.
Look in the Python standard library chapter 6.1.5 "Process Management", or 11.5 urllib2 "extensible library for opening URLs".
Beyond that, you WILL need to write python code to glue your Zope components and templates to those third-party programs.
Are you trying to tie Zope and Globus?
J.F.
________________________________
From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On Behalf Of sergio diaz
Sent: June 8, 2007 14:49
To: lists at zopyx.com
Cc: zope at zope.org
Subject: Re: [Zope] zope & cgi
Hello,
I want to use cgi because I have to do a Grid Portal. I want to use Zope for the web interface and then conect Zope with cgi for execute system command and call to binary programs.
Could I do it with mod_proxy? Can you recommend me any manual for configure mod_proxy with zope?
best regards
________________________________
From: Andreas Jung <lists at zopyx.com>
Reply-To: Andreas Jung <lists at zopyx.com>
To: sergio diaz <kanetesdm at hotmail.com>, zope at zope.org
Subject: Re: [Zope] zope & cgi
Date: Fri, 08 Jun 2007 20:25:14 +0200
>
>
>--On 8. Juni 2007 20:19:10 +0200 sergio diaz <kanetesdm at hotmail.com>
>wrote:
>
>>
>>
>>
>>Hello,
>>
>>I want to use cgi under zope. I saw a zope product called zcgi but
>>I
>>don't know how run this. I have added the product but now I don't
>>know
>>how to work with it.
>>
>
>Welcome in the stoneage. Running Zope behind Apache is supported
>through
>mod_proxy and using rewrite rules. CGI/FastCGI support is
>deprecated.
>DON'T use it. If you want to use it, give use three very good
>reason.
>
>-aj
><< attach3 >>
________________________________
Recibe ofertas de empleo adaptadas a tu perfil. Introduce tu CV en MSN Empleo. <http://g.msn.com/8HMAESES/2752??PS=47575>
________________________________
Acepta el reto MSN Premium: incluye Antivirus y Firewall de McAffee. Descárgalo y pruébalo 2 meses gratis. <http://g.msn.com/8HMAESES/2731??PS=47575>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20070608/09e94acc/attachment.htm
More information about the Zope
mailing list