The stupid question is the question not asked | |
PerlMonks |
Getting system enviornmentals when running CGIby westrock2000 (Beadle) |
on Sep 20, 2015 at 23:49 UTC ( [id://1142589]=perlquestion: print w/replies, xml ) | Need Help?? |
westrock2000 has asked for the wisdom of the Perl Monks concerning the following question: I am trying to use a path from the Bash terminal in my Perl script. When I run the script from the command line as the user, the scripts picks up the variable correctly
But when I run the script through Apache (as the same user) $cwd is empty The environmental DYNBLDHOME is set in ~/.bashrc I'm not sure where the disconnect is, it is Perl or Apache that is the issue? I didn't know what to search for, I saw something about mod_env.so in Apache, and that is already enabled
Back to
Seekers of Perl Wisdom
|
|