[Zope] some SSL some clear content - needs two zope instances?

Hannu Krosing hannu@tm.ee
Sun, 31 Oct 1999 11:33:43 +0000


Roman Milner wrote:
> 
> Hello.  We are in the process of setting up a Zope site - some of which
> requires SSL some does not.
> 

maybe just two rewrite rules in apache conf (assuming you are using apache)-

organize your content in two trees

/z/
  https
  http

with shared data/methods in z

have a rewrite rule pointing to 

/z/https/ in your :443/SSL VirtualHost

RewriteRule ^/z/(.*) /home/httpd/zope2/Zope.cgi/https/$1 [e=HTTP_CG.....


and to

/z/http/ in your :80 VirtualHost

RewriteRule ^/z/(.*) /home/httpd/zope2/Zope.cgi/http/$1 [e=HTTP_CG.....

------------
Hannu