httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Poggenpohl, Daniel" <>
Subject AW: [users@httpd] Re: Server replication
Date Tue, 19 Apr 2016 07:20:16 GMT

I would recommend using variables in the httpd.conf defined at the beginning of the file so
that you can see the differences (only works if your differences aren't complex). You also
could put those variable definitions in another localhttpd.conf file and include it at the
beginning of httpd.conf. Then everything would be exactly the same except the localhttpd.conf

Daniel P.

-----Ursprüngliche Nachricht-----
Von: Daniel [] 
Gesendet: Montag, 18. April 2016 12:30
Betreff: Re: [users@httpd] Re: Server replication

"I would like to have the HTTPD configuration be identical except for one file with the local

This can be done simply with the "Include" directive in which you just have to load from another
file the local settings for each server.

El dom., 17 abr. 2016 a las 21:58, Christophe JAILLET (<>)

	If you are running on 2.4.x, have a look at mod_macro.
	Best regards,

	Le 17/04/2016 21:09, Darryl Philip Baker a écrit :

		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

View raw message