AW: Re: Server replication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

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 file.

Regards,
Daniel P.

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

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


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 (<christophe.jaillet@xxxxxxxxxx>) escribió:


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


	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
		www.it.northwestern.edu



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux