Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Getting system enviornmentals when running CGI

by flexvault (Monsignor)
on Sep 21, 2015 at 02:51 UTC ( #1142595=note: print w/replies, xml ) Need Help??


in reply to Getting system enviornmentals when running CGI

Hello westrock2000,

Usually Apache sets the environmental variable 'DOCUMENT ROOT', but to make sure, why not print out all the variables:

foreach my $env ( sort keys %ENV ) { print "ENV:\t$env\t$ENV{$env}\n"; }
I usually print to a file so I can check it later and often. Perl gives you the power, so why not use it :-)

Regards...Ed

"Well done is better than well said." - Benjamin Franklin

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1142595]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2022-01-22 00:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (59 votes). Check out past polls.

    Notices?