[Pdx-pm] Sourcing profile from within cgi script

Daniel Browning db at kavod.com
Fri Apr 16 09:39:08 PDT 2010


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


More information about the Pdx-pm-list mailing list