[Zope-dev] Mapping multiple IP addresses/domains to one Zope

2001-01-24 Thread Aaron Gillette

My company has many sites which share some content. Each site uses a
different IP address. I would like to bring all of these sites into one
instance of Zope on an NT machine. I am looking at the possibility of either
1) running Zope behind IIS, or 2) running Zserver exclusively. Personally,
I'd rather take the time in advance to learn how to do the whole thing in
Zope, as I envision switching to a Linux server in the near future, and I
believe that this would ease the migration.

My question is this: How do I map different IP addresses/domains to
different Zope folders? I am pretty new to Python (but learning fast!), so
any snippets of sample code would be much obliged.

Thanks in advance,

Aaron Gillette


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Mapping multiple IP addresses/domains to one Zope

2001-01-24 Thread Toby Dickenson

On Wed, 24 Jan 2001 10:07:29 -0600, "Aaron Gillette"
[EMAIL PROTECTED] wrote:

My company has many sites which share some content. Each site uses a
different IP address. I would like to bring all of these sites into one
instance of Zope on an NT machine. I am looking at the possibility of either
1) running Zope behind IIS, or 2) running Zserver exclusively.

Is this server accessible to untrusted users? If yes, then go for IIS.
ZServer on its own isnt sufficiently bullet-proof.

 Personally,
I'd rather take the time in advance to learn how to do the whole thing in
Zope, as I envision switching to a Linux server in the near future, and I
believe that this would ease the migration.

Yes, its safe to copy zope databases between platforms, and zope
itself is very platform-neutral.

My question is this: How do I map different IP addresses/domains to
different Zope folders? I am pretty new to Python (but learning fast!), so
any snippets of sample code would be much obliged.

Search on www.zope.org for SiteAccess. 

Toby Dickenson
[EMAIL PROTECTED]

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Mapping multiple IP addresses/domains to one Zope

2001-01-24 Thread Aaron Gillette

Sorry, but I don't think I phrased my original question very well. I'll give
it another try.

What I'm trying to do is have Zope somehow map an IP address to a specific
subfolder within the ZODB. For example, I've got one subfolder that should
serve DOMAIN1.COM which is located at the IP address XXX.XXX.XXX.1, a second
subfolder should serve DOMAIN2.COM which is located at the IP address
XXX.XXX.XXX.2, etc... How can this be accomplished?

If there is a way to do it behind IIS, that'd be great.

SiteAccess could then take care of the conversion of the root domain name (I
think).

I hope I've cleared things up a bit.

Thanks,

Aaron Gillette

- Original Message -
From: "Toby Dickenson" [EMAIL PROTECTED]
To: "Aaron Gillette" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Wednesday, January 24, 2001 10:22 AM
Subject: Re: [Zope-dev] Mapping multiple IP addresses/domains to one Zope


On Wed, 24 Jan 2001 10:07:29 -0600, "Aaron Gillette"
[EMAIL PROTECTED] wrote:

My company has many sites which share some content. Each site uses a
different IP address. I would like to bring all of these sites into one
instance of Zope on an NT machine. I am looking at the possibility of
either
1) running Zope behind IIS, or 2) running Zserver exclusively.

Is this server accessible to untrusted users? If yes, then go for IIS.
ZServer on its own isnt sufficiently bullet-proof.

 Personally,
I'd rather take the time in advance to learn how to do the whole thing in
Zope, as I envision switching to a Linux server in the near future, and I
believe that this would ease the migration.

Yes, its safe to copy zope databases between platforms, and zope
itself is very platform-neutral.

My question is this: How do I map different IP addresses/domains to
different Zope folders? I am pretty new to Python (but learning fast!), so
any snippets of sample code would be much obliged.

Search on www.zope.org for SiteAccess.

Toby Dickenson
[EMAIL PROTECTED]


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )




Re: [Zope-dev] Mapping multiple IP addresses/domains to one Zope

2001-01-24 Thread Michael Bernstein

Aaron Gillette wrote:
 
 My company has many sites which share some content. Each site uses a
 different IP address. I would like to bring all of these sites into one
 instance of Zope on an NT machine. I am looking at the possibility of either

 1) running Zope behind IIS, or 

 2) running Zserver exclusively.

You have a third possibility, which is to run Zope behid
Apache on NT. I would guess that this list has more
experience with Apache rewrite rules than IIS.

This setup should also be fairly easy to migrate to Linux.

Personally, I've found it more convenient to point all my
domains to a single IP address, and let Zope (with help from
SiteAccess) handle the rest. This has been easier, even
though Zope is behind Apache, as Zope Access Rules are
easier to create (IMO) than dealing with name or IP based
virtual hosting under Apache. Those Apache rewrite rules are
horribly cryptic.

HTH,

Michael Bernstein.

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )