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:[EMAIL PROTECTED] Sent: June 8, 2007 15:11 To: Doyon, Jean-Francois Cc: email@example.com 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" <[EMAIL PROTECTED]> To: "sergio diaz" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> CC: <firstname.lastname@example.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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of sergio diaz Sent: June 8, 2007 14:49 To: [EMAIL PROTECTED] Cc: email@example.com 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 <[EMAIL PROTECTED]> Reply-To: Andreas Jung <[EMAIL PROTECTED]> To: sergio diaz <[EMAIL PROTECTED]>, firstname.lastname@example.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 <[EMAIL PROTECTED]> >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>
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )