Re: HTTP "host" header

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 51295
interpreted = N
texte = 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 -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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)
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 -- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748 ------------------------------------------------------------- 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/ John Peacock

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:

WebCatalog stalls (1998) Banner DNA (1997) HELP WITH DATES (1997) [format 40s]text[/format] doesn't work (1997) Add all products to cart at once? (1997) [Webcat 2]Next (1997) Search in 2 or more catalogs (1997) Re:2nd WebCatalog2 Feature Request (1996) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) test (2004) WebDNA Solutions ... sorry! (1997) Type 11 errors setting up WebCAt 2 (1997) Talk List Suggestions (1997) Mac: [ListFiles] bug alert (1997) Bug or syntax error on my part? (1997) error message (2000) WebCat2b13 Command Reference Doc error (1997) php vs WebCatalog (2000) [cart] not being interpreted inside [founditems] (1997) RE: E-mailer error codes (1997)