Setting environment variables in /etc/apache2/envvars and then using it in config in ${} works! Thanks.
Example: /etc/apache2/envvars export LDAP_URL=ldap://localhost:7389/ou=vartotojai,o=mano?uid? /etc/apache2/sites-enabled/httpd-ssl.conf AuthLDAPURL ${LDAP_URL} 2009/4/22 inas inassen <mezgh...@hotmail.com>: > very nice, do you have any sample? > > Thanks. > >> Date: Tue, 21 Apr 2009 16:01:17 -0400 >> From: cove...@gmail.com >> To: users@httpd.apache.org >> Subject: Re: [us...@httpd] How to define constant in apache configuration? >> >> On Tue, Apr 21, 2009 at 3:59 PM, inas inassen <mezgh...@hotmail.com> >> wrote: >> > 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? >> >> Works for me. >> >> -- >> Eric Covener >> cove...@gmail.com >> >> --------------------------------------------------------------------- >> 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-unsubscr...@httpd.apache.org >> " from the digest: users-digest-unsubscr...@httpd.apache.org >> For additional commands, e-mail: users-h...@httpd.apache.org >> > > ________________________________ > Téléchargez le nouveau Windows Live Messenger ! Téléchargez Messenger, c'est > gratuit ! --------------------------------------------------------------------- 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-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org