Re: tcpconnect/tcpsend problem ...
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 58229
interpreted = N
texte = Kenneth Grome wrote:> [text]status=[middle > startafter=987654321&endbefore=123456789][tcpsend]GET /tcplogger.html > HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend][/middle][/text]> [tcpconnect] is not a browser (it's more like a telnet session), hence it doesn't send the appropriate HTTP header information when connecting. In particular, a multihosted web server must have the HOST header in order to know what virtual site to serve up.Try this:[text]CRLF=[unurl]%0D%0A[/unurl][/text][text]status=[middle startafter=987654321&endbefore=123456789][tcpsend]GET /tcplogger.html HTTP/1.0[CRLF]Host: incebu.com[CRLF][CRLF][/tcpsend][/middle][/text]HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 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:
Kenneth Grome wrote:> [text]status=[middle > startafter=987654321&endbefore=123456789][tcpsend]GET /tcplogger.html > HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend][/middle][/text]> [tcpconnect] is not a browser (it's more like a telnet session), hence it doesn't send the appropriate HTTP header information when connecting. In particular, a multihosted web server must have the HOST header in order to know what virtual site to serve up.Try this:[text]CRLF=[unurl]%0D%0A[/unurl][/text][text]status=[middle startafter=987654321&endbefore=123456789][tcpsend]GET /tcplogger.html HTTP/1.0[CRLF]Host: incebu.com[CRLF][CRLF][/tcpsend][/middle][/text]HTHJohn-- John PeacockDirector of Information Research and TechnologyRowman & Littlefield Publishing Group4501 Forbes BoulevardSuite HLanham, MD 20706301-459-3366 x.5010fax 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:
Gil's in the lead (1999)
Is this possible in simple search? question? (1998)
Problems getting parameters passed into email. (1997)
Search a date field specificly the month only... (1999)
Trouble with carts (2000)
Re:Virtual hosting and webcatNT (1997)
Heads up: WebCatalog 4 drops MacTCP, 68K (2000)
GetPOPmail (2000)
RE: Sum of Quantities (1997)
Help! WebCat2 bug (1997)
Stats (2001)
Just a thought (1998)
weird convertchars behavior (2000)
Thanks ! (1997)
Unexpected error (1997)
textarea to page display (1998)
UPS Calculator (2003)
sort problems....bug or brain fart? (1997)
Bug? (1997)
RE: WebCatalog NT beta 18 now available (1997)