0

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?

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.