[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] setting an env variable that apache will see when calling a cgi script
- Subject: [ale] setting an env variable that apache will see when calling a cgi script
- From: lists at serioustechnology.com (Geoffrey)
- Date: Mon, 20 Jul 2009 16:38:05 -0400
I'm trying to figure out how to set an env. variable that will be
available to a perl cgi script. I've tried putting it in the
/etc/sysconfig/httpd file as well as in the /etc/init.d/httpd script,
but it does not find it's way to the process that executes the cgi.
Anyone know how to do this? For example:
print $ENV{'FOO'};
--
Until later, Geoffrey
Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.
- Benjamin Franklin