Beefy Boxes and Bandwidth Generously Provided by pair Networks
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??


in reply to to $Env{'HTTP_HOST'} or to $Env{'SERVER_NAME'}, that is the question.

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.

--
tune

  • Comment on Re: to $Env{'HTTP_HOST'} or to $Env{'SERVER_NAME'}, that is the question.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (4)
As of 2024-04-25 15:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found