[OGo-Users] Two instances of OGo
Adam Tauno Williams
users@opengroupware.org
Tue, 16 Jan 2007 13:44:57 -0500
> I'm running OGo-1.0 in two diferent servers. Each server has two
> instances of ogo-webui-1.0 listen on ports 20000 and 20010.
> The two serves are running the same version of apache
> (apache2-mpm-prefork 2.0.54-5sarge1).
> I have the same configurations on the two servers:
> Alias /OpenGroupware.woa/WebServerResources/
> /usr/local/share/opengroupware.org-1.0/www/
> Alias /OpenGroupwareA.woa/WebServerResources/
> /usr/local/share/opengroupware.org-1.0/www/
> Alias /OpenGroupwareB.woa/WebServerResources/
> /usr/local/share/opengroupware.org-1.0/www/
> The first server run OK: http://myhost/OpenGroupwareA is redirected to
> instance listening on port 20000 and http://myhost/OpenGroupwareB
> is redirected to instance listening on port 20010.
> But in the second server all urls of the form
> http://myhost/OpenGroupwareA or http://myhost/OpenGroupwareB are
> redirected to instance listening on port 20010.
> I don't understand why? Any ideas?
I don't think OGo instances work this way; I believe you achieve
multiple instances via virtual hosts not by tweaking the URL. The
application server dictates what the URL form is so you can't
just-change-it (as in make OpenGroupware.woa to OpenGroupwareB.woa).
http://docs.opengroupware.org/Members/chris/multi/view
http://docs.opengroupware.org/Members/chris/scripts/oci/view
I personally don't run any multiple-instance servers; just because we
put each one in a separate VM.