On Thu, 31 Jul 2003 18:36:05 +0200, Todd R. Haverstock wrote:
> What is the 'best practice' configuration for hosting multiple Apache
> 1.3.X web sites
Basically, the most common way to have 10 Apache configs
running at the same time (for example, depending on the hostname used to
reach the server if it has several hostnames, or depending on the IP) is
to use VirtualHost.
But then each Apache child process (Apache spreads a child to serve a
request when all existing children are already busy serving other
requests) will have what it takes to run any of the 10 applications. For
example, if one of the application needs little system ressource but
serves many requests, whereas another one has to serve few requests but
needs much memory, then the first one will make Apache spreads many
children, and the second one will make each child use much memory... you
see the problem.
Also, this means that to restart an application you must restart all
children serving this application, id est all children.
So if you don't want this you must start several Apache : I think you
need the binaries only once, but start it with 10 different httpd.conf
files, specifying different values for PidFile and different ports.
Hth,
--
Jihem<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: Multiple Site Config Apache 1.3.X "Best Practice?"