Perl-Sensitive Sunglasses | |
PerlMonks |
Re: to $Env{'HTTP_HOST'} or to $Env{'SERVER_NAME'}, that is the question.by tune (Curate) |
on Jun 28, 2001 at 19:57 UTC ( [id://92337]=note: print w/replies, xml ) | Need Help?? |
I do not get the same. HTTP_HOST gives the same server name as I typed in the Location box of my browser. It can be 'localhost' for example. SERVER_NAME is the same everytime, hostname + domain, as it is registered in the machine's configuration. --
In Section
Seekers of Perl Wisdom
|
|