httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] More than one Apache server on the same system ?
Date Tue, 15 Apr 2003 08:57:32 GMT
>-----Original Message-----
>From: Alfonso Perna []
>is there an Apache administrator who can give me some informations ?
>Is it a common thing to have more than one Apache running on 
>the same Server ?

It's quite usual to do this in a development environment but not very
usual on a production server. The reason is port numbers - each instance
of apache has to listen to a different port (or set of ports, if you
have PBVHs). In development, that's usually not a problem; server_A can
be on ports 8080,8443 and server_B can be on ports 9080, 9443 etc. On a
production server you usually want to have all servers use the standard
ports 80 and 443. However, if you can give them different IP addresses
then that would be OK (server_A on ip1:80, server_B on ip2:80).

>Do you have an example of this kind of use ?

That's really all there is to it. You just have two config files and the
only requirement is that they don't try to share the same IP:port
combination - oh, and different logfiles too (I'm not sure what happens
if two processes try to write to the same logfile...). Then you just
start apache twice with the two different configs (probably, you'd want
to use the "-f" option to define the config file, rather than compile
different versions of httpd!)

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

>I need these informations because I'm testing Apache on a 
>Proportional Share 
>scheduler and I'm trying to consider realistic http loads and services.
>thanks for hints
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message