You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/04/01 03:57:50 UTC

DO NOT REPLY [Bug 49032] Environment variable expansion in configuration file fails in Windows

https://issues.apache.org/bugzilla/show_bug.cgi?id=49032

--- Comment #2 from Gregg L. Smith <li...@glewis.com> 2010-04-01 01:57:49 UTC ---
Reboot no, though it would work fine after a reboot. It does however depend on
how step 4 is accomplished.

Adding the variable as described in step 2 calls WM_SETTINGCHANGE and that
change is available to all processes started *after* the addition.

httpd -k restart is going to fail since the httpd process is already running
IMO and has not received the change per the caveat. For me the error ends up in
the error log but then Apache is also stopped. Follow it with httpd -k start
and ${APACHETEST} expands to C:\ and all is good since httpd is now starting as
a new process.

However post making the change run the commands;
net stop apache2.2
net start apache2.2
or restart from the services window via administrative tools and
${APACHETEST} expands to C:\ and all is good and no noise.

That this error does not occur under *nix is not surprising since the
environment is at the OS level and *nix isn't Windows and vice-versa.
IMO the bug is invalid.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org