httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 46333] Variable interpolation should be documented
Date Wed, 03 Dec 2008 21:49:57 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=46333


Rainer Jung <rainer.jung@kippdata.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




--- Comment #2 from Rainer Jung <rainer.jung@kippdata.de>  2008-12-03 13:49:56 PST ---
Hi R├╝diger,

I think the op means the environment variable interpolation in config. If you
have a shell environment variable XX and use ${XX} in the config, httpd
resolves it. You can find that in server/util.c:

/* Check a string for any ${ENV} environment variable
 * construct and replace each them by the value of
 * that environment variable, if it exists. If the
 * environment value does not exist, leave the ${ENV}
 * construct alone; it means something else.
 */
AP_DECLARE(const char *) ap_resolve_env(apr_pool_t *p, const char * word)

mod_define allows you to set variables inside httpd config, but if you simply
want to use external env vars, that's build in.

To the original reporter: do you have a documentation patch?


-- 
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


Mime
View raw message