David, It's certainly possible to run more than one instance of Zope on a single machine. The easiest way to do this may to be to use the source Zope release and to untar it into a totally separate directory from your existing Zope install. Compile it then edit the z2.py script and change the HTTP_PORT, FTP_PORT, and MONITOR_PORT fields. This is assuming you just want to use ZServer and don't care to use PCGI or FastCGI with another webserver.
-----Original Message----- From: David S. Harrison [mailto:dsh@magma-da.com] Sent: Thursday, December 02, 1999 7:57 PM To: zope@zope.org Subject: [Zope] Different instances of Zope
I have been snooping around a little bit trying to see if it is possible to run two instances of Zope on the same machine (but with a different port). It looks like the dynamic information is kept in the "var" subdirectory of the release. Is it possible to start ZServer and tell it to use a particular "var" directory? Or is it common to simply copy whole releases?
David S. Harrison (dsh@magma-da.com)
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope No cross posts or HTML encoding! (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Chris McDonough wrote:
David,
It's certainly possible to run more than one instance of Zope on a single machine.
The easiest way to do this may to be to use the source Zope release and to untar it into a totally separate directory from your existing Zope install. Compile it then edit the z2.py script and change the HTTP_PORT, FTP_PORT, and MONITOR_PORT fields.
This is assuming you just want to use ZServer and don't care to use PCGI or FastCGI with another webserver.
Note that if you are running multiple instances of Zope w/PCGI or fastCGI, each will still need to have it's own port. -- "They laughed at Columbus, they laughed at Fulton, they laughed at the Wright brothers. But they also laughed at Bozo the Clown." -- Carl Sagan
Bill Anderson wrote:
Chris McDonough wrote:
David,
It's certainly possible to run more than one instance of Zope on a single machine.
The easiest way to do this may to be to use the source Zope release and to untar it into a totally separate directory from your existing Zope install. Compile it then edit the z2.py script and change the HTTP_PORT, FTP_PORT, and MONITOR_PORT fields.
This is assuming you just want to use ZServer and don't care to use PCGI or FastCGI with another webserver.
Note that if you are running multiple instances of Zope w/PCGI or fastCGI, each will still need to have it's own port.
Unless, of course, if you're using Zope+PCGI+Apache and you're using VirtualHosts, in which case you can use 127.0.0.1:80, 127.0.0.2:80, etc... -- Nick Garcia | ngarcia@codeit.com CodeIt Computing | http://codeit.com
Nick Garcia wrote:
Bill Anderson wrote:
Chris McDonough wrote:
...
This is assuming you just want to use ZServer and don't care to use PCGI or FastCGI with another webserver.
Note that if you are running multiple instances of Zope w/PCGI or fastCGI, each will still need to have it's own port.
Unless, of course, if you're using Zope+PCGI+Apache and you're using VirtualHosts, in which case you can use 127.0.0.1:80, 127.0.0.2:80, etc...
Well, technically each one still has it's own port ;-) Either way, you still wind up modifying the start script. Bill -- In flying I have learned that carelessness and overconfidence are usually far more dangerous than deliberately accepted risks. -- Wilbur Wright in a letter to his father, September 1900
participants (3)
-
Bill Anderson -
Chris McDonough -
Nick Garcia