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?

--
J.Lance Wilkinson ("Lance")           InterNet: lance.wilkin...@psu.edu
Systems Design Specialist - Lead        Phone: (814) 865-4870
Digital Library Technologies            FAX:   (814) 863-3560
E3 Paterno Library
Penn State University
University Park, PA 16802

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

Reply via email to