httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alfonsas Stonis <alfonsassto...@gmail.com>
Subject Re: [users@httpd] How to define constant in apache configuration?
Date Thu, 23 Apr 2009 08:43:50 GMT
SetEnv is supposed to work in this way, but it does not work. So, this
is the envvars and ${enviroment_variable} seems to be the only one way
to do it. I do not think there is any documentation of it.

2009/4/23 Nick Kew <nick@webthing.com>:
> On Wed, 22 Apr 2009 10:41:27 -0400
> "Mark H. Wood" <mwood@IUPUI.Edu> wrote:
>
>
>> Would you (or anyone) please point me to the relevant section of the
>> 2.2 documentation for the ${foo} method.  I've never seen this
>> mentioned. Clearly I'm not looking in the right place.  mod_macro
>> looks nice, but it's more than I need for simple manifest constants.
>
> They don't work generically.  Specific modules such as mod_rewrite,
> mod_filter, and mod_proxy_html support environment variables:
> see the docs for the modules in question.  If you want generic
> support, that's what mod_macro/mod_define are about.
>
> Trunk and 2.3.x versions also support them in evaluating expressions
> for <If "expr ..."> sections.
>
> --
> Nick Kew
>
> Application Development with Apache - the Apache Modules Book
> http://www.apachetutor.org/
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message