Rookie Question on Define and Testing the value

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

 



I’m trying to do some conditional configuration settings. I know that I can use “Define variable value” to set up a variable. I know that “<IfDefine [!}variable>” can be used to test to see if a variable is set or not. I looked at “<If _expression_>” as a possibility but since what I am setting are really configuration change and “If” is a runtime directive. Using “If” is going to add runtime overhead for something that will not change for the life of the daemon. Is there initialization directive to use to see if a variable set using “Define” matches a particular value and what is that directive if it exists?

 

If it matters this is RHEL7 and the supplied Apache 2.4.

 

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

 


[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