Re: Re-use of a Setenv directive

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

 



----- "J.Lance Wilkinson" <jlw12@xxxxxxxxxxxxxxx> wrote:

> Rainer Jung wrote:
> > If the values are in fact static, i.e. do not depend in the request,
> 
> > virtual host etc., you can actually use the fact, that Apache allows
> you 
> > to resolve unix environment variables (not the same as Apache 
> > environment variables) inside the Apache configuration. The syntax
> is 
> > ${VARNAME} (do not drop the curly braces).
> > 
> > - Set env var outside of Apache before starting:
> > 
> > BASE_PATH=/var/smthg
> > export BASE_PATH
> > 
> > Use variable inside Apache config:
> > 
> > SetEnv PATHS ${BASE_PATH}/a:${BASE_PATH}/b:${BASE_PATH}/c:...
> 
> 	Is this post-Apache 2.2.x functionality, or are you talking about
> 	mod_define to get this functionality?

Nope. That's in 2.2 -- it's (heavily) (ab)used by Distros like
Debian and their like.

Also, what's mod_define?

i

-- 
Igor GaliÄ

Tel: +43 (0) 664 886 22 883
Mail: i.galic@xxxxxxxxxxxxxx
URL: http://brainsware.org/

---------------------------------------------------------------------
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