Re: [users@httpd] RE: Can you use variables inside a conf file?

2012-01-29 Thread Steve Swift
I'll investigate mod_macro. Thank you. On 29 January 2012 11:01, Rainer Jung wrote: > On 29.01.2012 09:42, Steve Swift wrote: > >> Out of curiosity, is it possible to define the same environment >> variable, but with different values, in different VirtualHosts? I >> presume this can't be done, a

Re: [users@httpd] RE: Can you use variables inside a conf file?

2012-01-29 Thread Rainer Jung
On 29.01.2012 09:42, Steve Swift wrote: Out of curiosity, is it possible to define the same environment variable, but with different values, in different VirtualHosts? I presume this can't be done, as all of the hosts would inherit the same environment, including the environment variables. For e

Re: [users@httpd] RE: Can you use variables inside a conf file?

2012-01-29 Thread Steve Swift
Out of curiosity, is it possible to define the same environment variable, but with different values, in different VirtualHosts? I presume this can't be done, as all of the hosts would inherit the same environment, including the environment variables. For example, I have live and test versions of e

Re: [users@httpd] RE: Can you use variables inside a conf file?

2012-01-28 Thread Rainer Jung
On 25.01.2012 14:47, Desilets, Alain wrote: I use this syntax too, but I think it works for me only because of my loading of a NON-STANDARD module, mod_define. http://people.apache.org/~rjung/mod_define/mod_define.html It works for me and I don't have mod_def

RE: [users@httpd] RE: Can you use variables inside a conf file?

2012-01-25 Thread Desilets, Alain
> I use this syntax too, but I think it works for me only because of my > loading of a NON-STANDARD module, mod_define. > > http://people.apache.org/~rjung/mod_define/mod_define.html It works for me and I don't have mod_define loaded. -

Re: [users@httpd] RE: Can you use variables inside a conf file?

2012-01-25 Thread J.Lance Wilkinson
Desilets, Alain wrote: Nevermind, I found the answer on this page: www.issociate.de/board/goto/1147159/Using_environment_variable_in_httpd.conf.html Although it's an undocumented features, you can acess the OS env variables with a syntax like: ${WEBITEXT_HOME}. I tried it and it works. The fu