[Zope] img src (newbie)

jessica lee tishmack jlt29707@sci.tamucc.edu
Mon, 27 Mar 2000 16:01:01 -0600 (CST)


Is there a way to do this using Zope-zserver, and not Zope-pcgi?
When I started this, I was just using the Zserver....but now that I need
to include calls to cgi programs for the sake of a couple images, I am
thinking I will needs Zope-pcgi..

If this is the case, I will need to uninstall the Zope-Zserver (if I try
to have both, there is a conflict) and install Zope-pcgi.  Does this mean 
I will have to import all the files, directories, etc. back into Zope, and
then reconfigure all of the files (replace all SSI lines with
dtml lines, etc)?


Thanks,
Jessica

> So, you have a CGI script that dynamically creates an image as its
> output. You'll either need to re-implement this using Python and make
> a ZOPE product, wrap it using a Zope product (which seems the least
> elegant), or just keep it out of Zope (probably the desirable). I
> assume you're running apache and using Zope.cgi, so your Zope path
> is
> 
> 	http://yourhostname/Zope
> 
> Now, your CGI scripts are under:
> 
> 	http://yourhostname/cgi-bin
> 
> You'll just want to reference the images just like you would in
> normal HTML. Zope will not mess with an img tag, so if it points
> to a working CGI script, you're ok.
> 
> Does that answer your question?