There are so many options, it's hard to know where to begin.
I will assume you want one JRun server per one Apache server and you are
building Apache from source. I don't know how you would to this if you
are installing apache as a package or any other way.
I think the easiest way would be for you to compile a seperate apache
server for each Web server. From the source dir, do the following:
../configure --prefix=/usr/local/server1 \
--enable-module=most \
--enable-shared=max
make
make install
Then do it again changing server1 to server2 as many times as you want.
When you look at httpd.conf in the /usr/local/serverx/conf directory,
you can specify which port the server listens to Port directive (search
for Port, I think the apache site explains this pretty good in the
documentation section). It defaults to 80, just change server2 to 81,
server3 to 82 etc. Then just start all of the servers from the
appropriate bin dir: /usr/local/serverx/bin/apachectl start.
If you have control of your own name server and have spare IP addresses,
you could also make your host multi-homed (answer to more than one IP
address) so all your servers could answer on port 80 and you don't have
to mess with port numbers with your url's. To make a host multi-homed,
add the new name/ip address to the name server and /etc/hosts, then copy
hostname.hme0 to hostname.hme0:1 and change the name in hostname.hme0:1
to server2 and on and on for as many unique ip addresses you want.
Lloyd
>
> Hello,
>
> I am running JRun 3.0 with Apache 1.3.14 w/DSO support (all on Solaris)
> and I would like to configure multiple JRun Servers. Adding the new JRun
> servers seems pretty straight forward however I don't think I am
> understanding the relationship between each JRun server and Apache. I assume
> I should have a seperate Apache server on it's own individual port running
> for each JRun server I wish to create. My question is how can I create the
> additional Apache servers on the same host. I want to run many apache
> servers on the same machine, just on different ports I.E. http://myHost:80
> http://myHost:81
> http://myHost:82, etc....
>
> Do I have to run ./configure, make , and install (inclusive of DSO option)
> for every new Apache server I wish to run and also run JRun connector wizard
> each time as well??
>
> Thanks,
> Victor
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists