[ale] setting an env variable that apache will see when calling a cgi script

Geoffrey lists at serioustechnology.com
Mon Jul 20 16:38:05 EDT 2009


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


More information about the Ale mailing list