[Zope] ip-address vs http-server section

2007-04-03 Thread Timothy Ball

I want zope to listen to two different ip-addrs on two different ports and
I'm unsure of how to configure zope to behave correctly.

I set ip-address some ip addr
then I have two http-server sections ala this:

--snip--snip--snip--
ip-address some-goofy-ipaddr

http-server
 # valid keys are address and force-connection-close
 address some-goofy-ipaddr:8080
 # force-connection-close on
/http-server

http-server
 # valid keys are address and force-connection-close
 address some-other-goofy-ipaddr:80
 # force-connection-close on
/http-server

--snip--snip--snip--

When I do this zope doesn't seem to listen to any thing on any port...

If it helps I'm using zope-2.7.4

TIA,
--timball

--
   GPG key available on pgpkeys.mit.edu
pub  1024D/511FBD54 2001-07-23 Timothy Lu Hu Ball [EMAIL PROTECTED]
Key fingerprint = B579 29B0 F6C8 C7AA 3840  E053 FE02 BB97 511F BD54
___
Zope maillist  -  Zope@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 )


Re: [Zope] ip-address vs http-server section

2007-04-03 Thread Jonathan


- Original Message - 
From: Timothy Ball [EMAIL PROTECTED]

To: zope@zope.org
Sent: Tuesday, April 03, 2007 11:24 AM
Subject: [Zope] ip-address vs http-server section



I want zope to listen to two different ip-addrs on two different ports and
I'm unsure of how to configure zope to behave correctly.

I set ip-address some ip addr
then I have two http-server sections ala this:

--snip--snip--snip--
ip-address some-goofy-ipaddr

http-server
 # valid keys are address and force-connection-close
 address some-goofy-ipaddr:8080
 # force-connection-close on
/http-server

http-server
 # valid keys are address and force-connection-close
 address some-other-goofy-ipaddr:80
 # force-connection-close on
/http-server


Is there a reason why you don't want to use something like a front-end 
apache with url rewriting?



Jonathan 


___
Zope maillist  -  Zope@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 )


Re: [Zope] ip-address vs http-server section

2007-04-03 Thread Dieter Maurer
Timothy Ball wrote at 2007-4-3 11:24 -0400:
I want zope to listen to two different ip-addrs on two different ports and
I'm unsure of how to configure zope to behave correctly.

I set ip-address some ip addr
then I have two http-server sections ala this:

--snip--snip--snip--
ip-address some-goofy-ipaddr

http-server
  # valid keys are address and force-connection-close
  address some-goofy-ipaddr:8080
  # force-connection-close on
/http-server

http-server
  # valid keys are address and force-connection-close
  address some-other-goofy-ipaddr:80
  # force-connection-close on
/http-server

--snip--snip--snip--

When I do this zope doesn't seem to listen to any thing on any port...

The :80 above requires that Zope is started as root (under *nix)
as all ports below 1024 are root only ports.


Due to a (long standing) bug in Zope's startup logging, you may
not see the resulting exception. Due to another bug, you have to
proceed as follows:

Enable debug-mode in your configuration file.
Otherwise, Zope will refuse to log to the console (a bug).

Start Zope in foreground mode (bin/zopectl fg under *nix)

Watch out for messages on the console.



-- 
Dieter
___
Zope maillist  -  Zope@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 )