[Zope] Wrapping a non-Zope site in Zope

Peter Bengtsson mail at peterbe.com
Tue Mar 9 17:21:50 EST 2004


Look at the HTTPMounter product
http://zope.org/Members/ajung/HTTPMounter

Maybe you can subclass or monkey patch it to do the seemless integration 
with your plone site. Since the actual URL of the site your "mounting" 
(i.e. the mail site) is never visible you can send passwords in the URL 
maybe.


Etienne Labuschagne wrote:

> Hi there,
> 
> What is the best way to "wrap" another live site in a Zope page or serve 
> it through Zope.
> 
> I have a web-enabled mail site that I must plug into a client's Plone 
> site.  The client wants his employees to first log into their Plone 
> portal before being able to log into their web enabled mail site.  He 
> might also want all of this to happen behind https in the end.  So an 
> employee will have to do two logins to get to his/her mail.
> 
> The second phase will incorporate the mail site into the Plone skin, by 
> stripping the <head> section from the mail server served pages and then 
> plugging the body into the body slot of the Plone skin.
> 
> My idea was for Zope to "pass on" the mail server served pages, somewhat 
> like a reverse proxy.  Maybe a reverse proxy is the answer, but how do I 
> get the client to first log into the Plone portal before being able to 
> log into the mail page.  I have started writing a "proxy" object in Zope 
> that takes the browser request, figures out which page to retrieve from 
> the mail server with urllib, retrieve the page, and pass that back 
> again, but it is a bit slow.  It also leaves me with nasty work to do 
> such as searching for urls on the mail server created pages and changing 
> them to my "zope urls".
> 
> In the end only one server serving on one port must be open to the 
> internet.
> 
> Any suggestions?
> 
> Etienne
> 
> 
> _______________________________________________
> Zope maillist  -  Zope at 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 )
> 
> .
> 

-- 
Peter Bengtsson, http://www.peterbe.com



More information about the Zope mailing list