Re: Regarding "<IfDefine>" directive in httpd.conf

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

 



To be more clearer, it would be really helpful if you could let me know the means by which we can dynamically update the httpd.conf to enable/disable a particular marco similar to "-DSSL" which does in command line.

On Wed, Mar 11, 2009 at 2:13 PM, sathya sai <sathyasai.eshwar@xxxxxxxxx> wrote:
Hi Apache folks,
 
This is regarding "<IfDefine>" directive in httpd.conf for apache-2.2.x .
 
My httpd.conf had all SSL related configuration wrapped under <IfDefine SSL> as below,
 
<IfDefine SSL>
....
SSLCertificateFile conf/ssl/server.crt
SSLCertificateKeyFile conf/ssl/server.key
....
...
</IfDefine>
 
Till now based on the system configuration, I would decide if I need to start apache with -DSSL or not (to enable/disable https feature).
 
I would need to know if there is any other alternative means by which, instead of defining the macro from command line (like -DSSL), can it be defined in the httpd.conf itself ? So that I can just start apache everytime by just running httpd.exe instead of caring on command line options ?
 
Please do let me know your views on this.
 
Thanks and regards,
Sathya
 


[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