[CentOS] apache env vars - best practices

Les Mikesell lesmikesell at gmail.com
Mon Oct 19 19:35:31 UTC 2009

aurfalien at gmail.com wrote:
> Hi Les,
> What I mean is that if I use the Apache directive;
> SetEnv BATCHPATH /foo
> It works.
> If I set;
> SetEnv BATCHPATH /foo:/bar
> Apache errors with a syntax that SetEnv takes 2 args only, a key and a  
> value.

Doesn't happen here.  If I paste that line into my httpd.conf, apache 
digests it and reports this in /server-info:

Current Configuration:
     In file: /etc/httpd/conf/httpd.conf
        1: SetEnv BATCHPATH /foo:/bar

   Les Mikesell
    lesmikesell at gmail.com

More information about the CentOS mailing list