Index: openacs-4/packages/acs-core-docs/www/install-next-add-server.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/install-next-add-server.html,v diff -u -N -r1.11.2.2 -r1.11.2.3 --- openacs-4/packages/acs-core-docs/www/install-next-add-server.html 6 Jul 2009 11:14:27 -0000 1.11.2.2 +++ openacs-4/packages/acs-core-docs/www/install-next-add-server.html 11 Sep 2009 23:41:26 -0000 1.11.2.3 @@ -1,19 +1,19 @@ - -Running multiple services on one machine

Running multiple services on one machine

Services on different ports. To run a different service on another port but the same - ip, simply repeat Install OpenACS 5.5.0 replacing + +Running multiple services on one machine

Running multiple services on one machine

Services on different ports. To run a different service on another port but the same + ip, simply repeat Install OpenACS 5.5.0 replacing $OPENACS_SERVICE_NAME, and change the

set httpport              8000
-set httpsport             8443 

- to different values.

Services on different host names. For example, suppose you want to support -http://service0.com and - http://bar.com on the same +set httpsport 8443

+ to different values.

Services on different host names. For example, suppose you want to support +http://service0.com and + http://bar.com on the same machine. The easiest way is to assign each one a different ip address. Then you can install two services as above, but with different values for

set hostname               [ns_info hostname]
-set address                127.0.0.1 

+set address 127.0.0.1

If you want to install two services with different host names sharing the same ip, you'll need nsvhr to redirect requests - based on the contents of the tcp headers. See AOLserver - Virtual Hosting with TCP by markd. + based on the contents of the tcp headers. See AOLserver + Virtual Hosting with TCP by markd.

View comments on this page at openacs.org