Hi, I did some tests in the past using this way ${foo} by defining the variable foo in the bin/envvars file (like it works in Tomcat for example) but it fails for apache. So Eric, Please, can you provide us more detail if it worked for you? thanks, Inas. > Date: Mon, 20 Apr 2009 22:17:50 -0400 > From: covener@xxxxxxxxx > To: users@xxxxxxxxxxxxxxxx > Subject: Re: How to define constant in apache configuration? > > On Mon, Apr 20, 2009 at 9:23 PM, Alfonsas Stonis > <alfonsasstonis@xxxxxxxxx> wrote: > > I can not find now the definition, but there was some module for > > apache 1.3 (maybe it was third party) that allowed to write define. > > However, I found hard to believe that such basic thing would not be > > supported in apache 2 configuration. There should be some easy way to > > do this. > > mod_macro, or set native environment variables (in bin/envvars > provided by your apache pkg for example) and deref with ${foo}. > > -- > Eric Covener > covener@xxxxxxxxx > > --------------------------------------------------------------------- > 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@xxxxxxxxxxxxxxxx > " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx > Découvrez toutes les possibilités de communication avec vos proches |