>> 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
aurfal...@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
On Mon, Oct 19, 2009 at 12:49 PM, wrote:
> I've been setting custom env vars for Apache 1 of 2 ways;
>
> 1 - Changing the passwd file so Apache has a shell and loading a
> custom .bashrc file.
>
> 2 - Using the SetEnv directive in my httpd.conf file.
>
> I'm crazy about neither one as they both h
>> 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.
>>
> You have something unique going there?
Y
aurfal...@gmail.com wrote:
> Hi Nate,
>
> These scripts are called by the user in a standard env and would
> prefer it to stay un modified when running via Apache.
How about a wrapper script then? The wrapper could set the vars
and then call the unmodified script
nate
__
aurfal...@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 pa
Hi Nate,
These scripts are called by the user in a standard env and would
prefer it to stay un modified when running via Apache.
On Oct 19, 2009, at 11:17 AM, nate wrote:
> aurfal...@gmail.com wrote:
>> Hi Nate,
>>
>> We have our internal server running scripts and referencing variables
>> in
aurfal...@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 for me on stock Apache
aurfal...@gmail.com wrote:
> Hi Nate,
>
> We have our internal server running scripts and referencing variables
> in custom paths.
>
> So for example;
>
> Some one runs a Python script of http://intranet/batch
>
> The batch.py references some variables defined in certain paths.
>
> I need a good wa
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 ide
aurfal...@gmail.com wrote:
> I've been setting custom env vars for Apache 1 of 2 ways;
>
> 1 - Changing the passwd file so Apache has a shell and loading a
> custom .bashrc file.
>
> 2 - Using the SetEnv directive in my httpd.conf file.
>
> I'm crazy about neither one as they both have limitat
Hi Nate,
We have our internal server running scripts and referencing variables
in custom paths.
So for example;
Some one runs a Python script of http://intranet/batch
The batch.py references some variables defined in certain paths.
I need a good way of defining a path with multiple vars like
aurfal...@gmail.com wrote:
> What's the cleanest way to set complex env vars for Apache?
What are you needing to set such variables for? I've run apache
for probably nearly 15 years now, doing many different types of
things but never have I had to set complex environment
variables.
Have you trie
I've been setting custom env vars for Apache 1 of 2 ways;
1 - Changing the passwd file so Apache has a shell and loading a
custom .bashrc file.
2 - Using the SetEnv directive in my httpd.conf file.
I'm crazy about neither one as they both have limitations;
1 - I don't like giving Apache its o
14 matches
Mail list logo