[Pdx-pm] Sourcing profile from within cgi script

Erik Hollensbe erik at hollensbe.org
Fri Apr 16 09:54:09 PDT 2010


On 04/16/10 12:51, Daniel Herrington wrote:
> 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
>
>
> _______________________________________________
> Pdx-pm-list mailing list
> Pdx-pm-list at pm.org
> http://mail.pm.org/mailman/listinfo/pdx-pm-list
startup.pl?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/pdx-pm-list/attachments/20100416/e1582f0a/attachment.html>


More information about the Pdx-pm-list mailing list