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). > > John Signed: 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:

    
  1. Re: HTTP "host" header ( marc@kaiwi.com (Marc Kaiwi) 2003)
  2. Re: HTTP "host" header ( John Peacock 2003)
  3. Re: HTTP "host" header ( marc@kaiwi.com (Marc Kaiwi) 2003)
  4. Re: HTTP "host" header ( John Peacock 2003)
  5. Re: HTTP "host" header ( marc@kaiwi.com (Marc Kaiwi) 2003)
  6. Re: HTTP "host" header ( John Peacock 2003)
  7. Re: HTTP "host" header ( John Peacock 2003)
  8. Re: HTTP "host" header ( marc@kaiwi.com (Marc Kaiwi) 2003)
  9. Re: HTTP "host" header ( John Peacock 2003)
  10. HTTP "host" header ( marc@kaiwi.com (Marc Kaiwi) 2003)
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). > > John Signed: 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:

So many lookers, hey smith micro (2003) Forbidden CGI Error (1997) Ken's Data Manager (finally available I think ...) (2005) WC2b15 File Corruption (1997) Stupid question about [grandtotal] formula (2004) WebCatalog can't find database (1997) Nitro plugin? (1998) Authenticate (1997) Shop till you drop dead on the avenue ... (1997) Signal Raised Error (1997) Getting Emailer to send mail (1997) WebMerchant and AVS (1998) t or f (1997) free "Image Viewer" widget (2004) WC2.0 Memory Requirements (1997) Limit on nested [ShowIf]'s? (1997) Cart Numbers (1997) [WebDNA] Email delivery problems? (2010) WebCatalog [FoundItems] Problem - AGAIN - (1997) Version f1 status (1997)