[Zope] Getting Zope to act as if it is in a different domain?

Etienne Labuschagne ELabuschagne@gims.com
Wed, 5 Dec 2001 10:27:12 +0200


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C17D66.A34D1A80
Content-Type: text/plain;
	charset="iso-8859-1"

Hi there,

Thanks for the reply.  The product I am developing is a "plug in" product
that anyone can use in their web-sites (the product is served by my Zope,
and the product must communicate with my Zope).  This means that whatever
setup needs to be done on IIS will have to be done on every client's IIS
that wants to use my plug-in (it's not even to say that they ARE going to
use IIS).

When you say Zope's virual hosting, do you mean using SiteRoot and
SiteAccess?

This seems to me like a fairly unsurmountable problem!

Regards
Etienne

-----Original Message-----
From: Evan Simpson [mailto:evan@4-am.com]
Sent: Tuesday, December 04, 2001 6:13 PM
To: Etienne Labuschagne
Cc: Zope User List (E-mail)
Subject: Re: [Zope] Getting Zope to act as if it is in a different
domain?


Etienne Labuschagne wrote:

> Is there a way that I can set the headers/whatever of the page served by 
> Zope so that it seems as if it was served by A and not by B? (I know how 
> to get A's domain from HTTP_REFERER, but does not know how to set the 
> headers/whatever).


If you can figure out how to make IIS proxy these requests, (or put a 
rewriting proxy in front of IIS) you can use Zope's virtual hosting 
capabilites to make the Zope applet appear part of IIS's domain.


Cheers,

Evan @ Zope

------_=_NextPart_001_01C17D66.A34D1A80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>RE: [Zope] Getting Zope to act as if it is in a different =
domain?</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi there,</FONT>
</P>

<P><FONT SIZE=3D2>Thanks for the reply.&nbsp; The product I am =
developing is a &quot;plug in&quot; product that anyone can use in =
their web-sites (the product is served by my Zope, and the product must =
communicate with my Zope).&nbsp; This means that whatever setup needs =
to be done on IIS will have to be done on every client's IIS that wants =
to use my plug-in (it's not even to say that they ARE going to use =
IIS).</FONT></P>

<P><FONT SIZE=3D2>When you say Zope's virual hosting, do you mean using =
SiteRoot and SiteAccess?</FONT>
</P>

<P><FONT SIZE=3D2>This seems to me like a fairly unsurmountable =
problem!</FONT>
</P>

<P><FONT SIZE=3D2>Regards</FONT>
<BR><FONT SIZE=3D2>Etienne</FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Evan Simpson [<A =
HREF=3D"mailto:evan@4-am.com">mailto:evan@4-am.com</A>]</FONT>
<BR><FONT SIZE=3D2>Sent: Tuesday, December 04, 2001 6:13 PM</FONT>
<BR><FONT SIZE=3D2>To: Etienne Labuschagne</FONT>
<BR><FONT SIZE=3D2>Cc: Zope User List (E-mail)</FONT>
<BR><FONT SIZE=3D2>Subject: Re: [Zope] Getting Zope to act as if it is =
in a different</FONT>
<BR><FONT SIZE=3D2>domain?</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Etienne Labuschagne wrote:</FONT>
</P>

<P><FONT SIZE=3D2>&gt; Is there a way that I can set the =
headers/whatever of the page served by </FONT>
<BR><FONT SIZE=3D2>&gt; Zope so that it seems as if it was served by A =
and not by B? (I know how </FONT>
<BR><FONT SIZE=3D2>&gt; to get A's domain from HTTP_REFERER, but does =
not know how to set the </FONT>
<BR><FONT SIZE=3D2>&gt; headers/whatever).</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>If you can figure out how to make IIS proxy these =
requests, (or put a </FONT>
<BR><FONT SIZE=3D2>rewriting proxy in front of IIS) you can use Zope's =
virtual hosting </FONT>
<BR><FONT SIZE=3D2>capabilites to make the Zope applet appear part of =
IIS's domain.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Cheers,</FONT>
</P>

<P><FONT SIZE=3D2>Evan @ Zope</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C17D66.A34D1A80--