httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 46333] Variable interpolation should be documented
Date Wed, 03 Dec 2008 21:49:57 GMT

Rainer Jung <> changed:

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

--- Comment #2 from Rainer Jung <>  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:
------- You are receiving this mail because: -------
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message