Re: [us...@httpd] How to define constant in apache configuration?

2009-04-23 Thread Alfonsas Stonis
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 : > On Wed, 22 Apr 2009 10:41:27 -0400 > "Mark H. Wood" wrote: > > >> Would y

Re: [us...@httpd] How to define constant in apache configuration?

2009-04-22 Thread Alfonsas Stonis
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 : > very

Re: [us...@httpd] How to define constant in apache configuration?

2009-04-20 Thread Alfonsas Stonis
van Besien > > On Mon, Apr 20, 2009 at 7:37 AM, Alfonsas Stonis > wrote: > > Hi, > > > > I want to define constant that I will use latter in several places. > > Old documentation says that there was Define statement (or similar) > > > > Define myUr

[us...@httpd] How to define constant in apache configuration?

2009-04-19 Thread Alfonsas Stonis
Hi, I want to define constant that I will use latter in several places. Old documentation says that there was Define statement (or similar) Define myUrl "ldap://localhost"; ... AuthLDAPUrl $myUrl However, there is nothing in current documentation (I was not able to find the same or similar modul