[Zope] Server Side Questions

Tino Wildenhain tino@wildenhain.de
Mon, 13 Aug 2001 16:03:39 +0200


Hi mixio,

it is possible to call any external program (including cgi scripts)
from Zope via external method. You have to write an external method
which creates the environment and uses os.system() (iirc) to
call it.

The other solution is to use Apaches mod_rewrite and rewrite all
 /cgi-bin/ urls to use apache and all others to use Zope.

Apache cant use zope objects by itself.

>From my expirience however, often it makes sense to write the CGIs
completely new according to what they are supposed to do.

With zope you get a powerful environment to solve daily and also
very special problems quite easy and most often more elegant then
most CGIs are.

Give it a try
Tino Wildenhain


--On Montag, 13. August 2001 14:25 +0200 mixo <mixo@beth.uniforum.org.za> wrote:

> Is it possible to execute a cgi script (possibly not python) within a
> dtml document? Are server side includes possible? And can a web
> server (say apache) be configured to procces Zope objects as if
> they are some other type of document that can  or should be proccess
> by the server before being sent to a browser?
>
> Mixo
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> 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 )