Re: HTTP "host" header
This WebDNA talk-list message is from 2003
It keeps the original formatting.
numero = 51298
interpreted = N
texte = So in the case of a virtual hosts, how do I indicate which host I'm requesting the info from?On Tuesday, June 24, 2003, at 08:07 AM, John Peacock wrote:> John Peacock wrote:>> [text]CRLF=[unURL]%0D%0A[/unURL][/text]>> [Text]Raw_Observation=[!]>> [/!][TCPConnect host=www.wrh.noaa.gov&port=80][!]>> [/!][TCPSend]GET /cgi-bin/wrhq/GetMetar.cgi?SAN+Public+Sandiego >> HTTP/1.0[CRLF][!]>> [/!]Host: www.mydomain.com[CRLF][/TCPSend][!]>> [/!][/TCPConnect][/Text]>> Actually, looking at this, you'll find that it doesn't work either. > The Host: entry is the _remote_ host, not your _local_ host. It is > required for multidomain hosts to tell which web site you are trying > to communicate with (since they may all share the same IP address).>> JohnSigned: Marc Kaiwi-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list
.To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
So in the case of a virtual hosts, how do I indicate which host I'm requesting the info from?On Tuesday, June 24, 2003, at 08:07 AM, John Peacock wrote:> John Peacock wrote:>> [text]CRLF=[unurl]%0D%0A[/unURL][/text]>> [text]Raw_Observation=[!]>> [/!][TCPConnect host=www.wrh.noaa.gov&port=80][!]>> [/!][tcpsend]GET /cgi-bin/wrhq/GetMetar.cgi?SAN+Public+Sandiego >> HTTP/1.0[CRLF][!]>> [/!]Host: www.mydomain.com[CRLF][/TCPSend][!]>> [/!][/TCPConnect][/Text]>> Actually, looking at this, you'll find that it doesn't work either. > The Host: entry is the _remote_ host, not your _local_ host. It is > required for multidomain hosts to tell which web site you are trying > to communicate with (since they may all share the same IP address).>> JohnSigned: Marc Kaiwi-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
marc@kaiwi.com (Marc Kaiwi)
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
Re:Part 2 - [showif] if variable exists (1998)
insecure default install on unix (2002)
Stinkin' [Referrer] (1998)
Text data with spaces in them... (1997)
Replace Statement (1997)
RE: [WebDNA] Talklist Archive & Twitter (2009)
Search/sort in URL Was: GuestBook example (1997)
Emailer help....! (1997)
[blank] (2005)
[Fwd: Rotating Banners ... (was LinkExchange)] (1997)
eMail volume (2000)
ListFiles then delete by ModDate (2002)
Quit revisited (1997)
can WC render sites out? (1997)
Email Set-Up? (1997)
Sort Order on a page search (1997)
WebDelivery downloads alias, not original ? (1997)
WebCat2final1 crashes (1997)
service stop and restart (1997)
WC2.0 Memory Requirements (1997)