RE: [Zope] zope & cgi

2007-06-08 Thread Doyon, Jean-Francois
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: zope@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" <[EMAIL PROTECTED]>
To: "sergio diaz" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
CC: 
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: zope@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 <[EMAIL PROTECTED]>
Reply-To:  Andreas Jung <[EMAIL PROTECTED]>
            To:  sergio diaz <[EMAIL PROTECTED]>, zope@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 <[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 )


Re: [Zope] zope & cgi

2007-06-08 Thread Jonathan


- Original Message - 
From: "sergio diaz" <[EMAIL PROTECTED]>

To: <[EMAIL PROTECTED]>
Cc: 
Sent: Friday, June 08, 2007 3:11 PM
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 don't really understand what you are trying to do, but if you want to 
execute 'non-zope' code, that resides on the file system, from within zope 
you may want to look at the python 'commands' module (i like 
commands.getstatusoutput) - you will have to use a product or external 
method for this.


Jonathan 


___
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 )


Re: [Zope] zope & cgi

2007-06-08 Thread Andrew Milton
+---[ Andreas Jung ]--
| 
| 
|  --On 8. Juni 2007 21:11:09 +0200 sergio diaz <[EMAIL PROTECTED]> wrote:
| 
| >
| >
| > 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.
| >
| 
|  What you're saying makes very little sense.

He wants to use Zope as a CGI server, or access CGI on another webserver, 
not access it via CGI.


-- 
Andrew Milton
[EMAIL PROTECTED]
___
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 )


RE: [Zope] zope & cgi

2007-06-08 Thread Andreas Jung



--On 8. Juni 2007 21:11:09 +0200 sergio diaz <[EMAIL PROTECTED]> wrote:




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.



What you're saying makes very little sense.

-aj

pgpKKDKoon5Cj.pgp
Description: PGP signature
___
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 )


RE: [Zope] zope & cgi

2007-06-08 Thread sergio diaz
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: Subject: RE: [Zope] zope & cgiDate: 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 diazSent: June 8, 2007 14:49To: [EMAIL PROTECTED]Cc: zope@zope.orgSubject: 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]>, zope@zope.orgSubject:  Re: [Zope] zope & cgiDate:  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. Acepta el reto MSN Premium: incluye Antivirus y Firewall de McAffee. Descárgalo y pruébalo 2 meses gratis. 

___
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 )


RE: [Zope] zope & cgi

2007-06-08 Thread Doyon, Jean-Francois
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: zope@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 <[EMAIL PROTECTED]>
Reply-To:  Andreas Jung <[EMAIL PROTECTED]>
To:  sergio diaz <[EMAIL PROTECTED]>, zope@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
<[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>  
___
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 )


Re: [Zope] zope & cgi

2007-06-08 Thread Andreas Jung



--On 8. Juni 2007 20:48:49 +0200 sergio diaz <[EMAIL PROTECTED]> wrote:





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?



Since you have of course "The Zope Book" under your pillow you just have to 
look at its "virtual hosting" chapter (the magic search terms are quoted).


-aj

pgpkvtSSJuLNk.pgp
Description: PGP signature
___
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 )


Re: [Zope] zope & cgi

2007-06-08 Thread sergio diaz

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]>, zope@zope.orgSubject:  Re: [Zope] zope & cgiDate:  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. 

___
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 )


Re: [Zope] zope & cgi

2007-06-08 Thread Andreas Jung



--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

pgpGmb7G2NERO.pgp
Description: PGP signature
___
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 )


[Zope] zope & cgi

2007-06-08 Thread sergio diaz

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.
 
¿Anybody know how to work with this product? or ¿There are other zope product or other thing that I can use?
 
 
best regardsAcepta el reto MSN Premium: Envía hasta 500 megas diarios de fotos desde Hotmail. Descárgalo y pruébalo 2 meses gratis. 

___
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 )


Re: [Zope] Zope : CGI

2000-07-03 Thread Curtis Maloney

On Mon, 03 Jul 2000, Vincent Maton wrote:
> Hello everyone,
>
> There is someone who can help me ???
>
> I need a CGI  to transfert the values of the 'Inputs" of a "Form" to a
> "e-mail" !!!
>
 Well, here in the Zope world, I'm sure using a  tag in 
an object is the most common way. As for a CGI, that's really out of the 
scope of this mailing list.

A simple example:


Subject: some e-mail
From: <[EMAIL PROTECTED]>
To: <>

Hello, .




> Thank's all of you, the specialists...
>
> Vincent.
>
>
Have a better one,
Curtis Maloney



___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




[Zope] Zope : CGI

2000-07-03 Thread Vincent Maton

Hello everyone,

There is someone who can help me ???

I need a CGI  to transfert the values of the 'Inputs" of a "Form" to a
"e-mail" !!!

Thank's all of you, the specialists...

Vincent.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )