[Pdx-pm] Sourcing profile from within cgi script

Daniel Herrington dherrington at robertmarktech.com
Fri Apr 16 09:51:35 PDT 2010

The issue that sparked this is we're attempting to avoid setting the 
variables statically anywhere in perl or apache. Since the profile 
changes each time an upgrade occurs, we're looking to avoid 
redevelopment efforts in the future.

Daniel Browning wrote:
> On Friday 16 April 2010 9:31:33 am Daniel Herrington wrote:
>> I've been looking into ways to source a shell profile from within a perl
>> script to get the shell variables into the perl environment. 
> The way I normally get shell variables into the perl environment of CGI 
> scripts is with the Apache PassEnv parameter, e.g.:
> # In httpd.conf or other apache config file:
> PassEnv HOME
> --
> DB
> _______________________________________________
> Pdx-pm-list mailing list
> Pdx-pm-list at pm.org
> http://mail.pm.org/mailman/listinfo/pdx-pm-list

Daniel B. Herrington
Director of Field Services
Robert Mark Technologies
dherrington at robertmarktechnologies.com
o: 651-769-2574
m: 503-358-8575
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/pdx-pm-list/attachments/20100416/0ffacada/attachment.html>

More information about the Pdx-pm-list mailing list