Re: How to define constant in apache configuration?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <mezghena@xxxxxxxxxxx>:
> very nice, do you have any sample?
>
> Thanks.
>
>> Date: Tue, 21 Apr 2009 16:01:17 -0400
>> From: covener@xxxxxxxxx
>> To: users@xxxxxxxxxxxxxxxx
>> Subject: Re:  How to define constant in apache configuration?
>>
>> On Tue, Apr 21, 2009 at 3:59 PM, inas inassen <mezghena@xxxxxxxxxxx>
>> 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
>> 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
>>
>
> ________________________________
> 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-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux