[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Apache question
- Subject: [ale] Apache question
- From: bpitts at LearnLink.Emory.Edu (Brian D. Pitts)
- Date: Tue, 24 Oct 2006 11:35:33 -0400
- In-reply-to: <[email protected]>
- References: <[email protected]>
Atlanta Linux Enthusiasts <ale at ale.org> writes:
>I'm running Apache2 on Linux. I have a compiled C program running as a
>cgi script and need to change its behavior via setting an environment
>variable. How does one do that?
Use the SetEnv directive.
> Would you put it in the
>/etc/init.d/apache2 file? Would the cgi script even inherit that
>enviroment?
If you use the PassEnv directive.
See http://httpd.apache.org/docs/2.0/mod/mod_env.html and
http://httpd.apache.org/docs/2.0/env.html
-Brian
-------------- next part --------------
An HTML attachment was scrubbed...