httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yehuda Katz <>
Subject Re: [users@httpd] Server replication
Date Sun, 17 Apr 2016 19:27:55 GMT
A configuration management tool (like Puppet, for example) may be a better
fit for what you are looking for.
I have implemented this solution at a state university - email me off the
list if you want specifics.

That said, can you be more specific about what you are trying to do?
Are you trying to include a different file depending on the hostname of the
Can you always have that config file named local.conf (or similar) and
include it everywhere else?
Alternatively, you might be able to pass the name you want on the startup
command (-D) and use it in the config -

- Y

On Sun, Apr 17, 2016 at 3:09 PM, Darryl Philip Baker <> wrote:

> I the system administrator for HTTP servers in a higher volume
> environment. We have three Linux hosts serving the many virtual hosts that
> make up our sites. The only HTTPD configuration difference between the
> three servers is the local machine's host name and IP address. I would like
> to have the HTTPD configuration be identical except for one file with the
> local settings, then I can just include that file. I would like to avoid
> having a large "<ifdefine></ifdefine>" block if possible. I'm sure other
> people are in the same situation and I would like to find out what works
> for you.
> When I search for answers I get answers to running multiple sites on a
> host and multiple instances of Apache HTTPD on a single host, neither of
> theses are my problem obviously.
> *Darryl Baker*
> *Sr. System Administrator*
> Distributed Application Platform Services (DAPS)
> Project Management Office and Enabling Technologies (PMOET)
> *Northwestern* | Information Technology (Formerly NUIT)
> 1800 Sherman Ave., Suite 600
> Evanston, IL  60201-3715
> *(847) 467-6674 <%28847%29%20467-6674>*

View raw message