[CentOS] apache env vars - best practices

Bowie Bailey Bowie_Bailey at BUC.com
Mon Oct 19 20:09:06 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.
>
> I need multiple values for 1 key, as one would see in a standard mix  
> env.
>
> Any ideas?

Which Apache version?

I put your second example into my httpd.conf and didn't see any errors. 
I do see the error you report if I insert a space into the path.

-- 
Bowie


More information about the CentOS mailing list