Re: apache env vars - best practices

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



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 FOO=/foo:/ 
bar... etc...

I'm not having too much luck with setting vars in /etc/sysconfig/httpd  
either.



On Oct 19, 2009, at 10:58 AM, nate wrote:

> aurfalien@xxxxxxxxx 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 tried sourcing the variables from the init script?
> One way may be to put the variables in /etc/sysconfig/httpd
>
> Perhaps there is a better way to do what you want without
> needing such environment variables.
>
> nate
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux