I'm using Apache Webserver 2.4.63 for Windows. I need to conditionally set some variables depending on whether a Windows OS environment variable exists or not. I currently have a httpd.conf file which works if the environment variables exist.
PassEnv BOB_HOME
Define SRVROOT "${BOB_HOME}\Apache"
However, if the BOB_HOME environment variable doesn't exist, I need to make SRVROOT a default value such as "c:\bob\home\Apache".
Is this possible?