tcpconnect/tcpsend problem ...

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 58228
interpreted = N
texte = Here's the entire content of the page at http://incebu.com/tcplogger.html : hello The only purpose of this page is to be retrieved by a tcpconnect that's located in a template on my webdna server with this content in it: [tcpconnect host=incebu.com&port=80] [text]status=[middle startafter=987654321&endbefore=123456789][tcpsend]GET /tcplogger.html HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend][/middle][/text] [showif [url][status][/url]!online] [sendmail to=webdna@kengrome.com&from=server@webdna.net&subject=incebu.com is down.][status][/sendmail] [/showif] [/tcpconnect] The server is reporting a 'file not found' error when the tcpconnect tries to get the "tcplogger.html" page via the above code, but the file is there as you can see by retrieving it in a browser yourself, so the server seems to be "making a mistake" when it tries to respond to the tcpconnect request. Two other tcpconnects that look exactly like this one work fine. The only difference is that the other two tcpconnects retrieve their files from different domains on different servers -- it is only this domain (and other domains) on this server that don't seem to respond properly when I use tcpconnect. If it weren't for the fact that retrieving the file via the above link works fine, I might actually think that the file is missing. But if I can retrieve it via my browser then I think I should be able to retrieve it via tcpconnect as well. But I cannot! Has anyone else found that tcpconnect fails on a domain when the same requested page can actually be retrieved by a browser? That's the problem I'm having, and I just don't get it. If I click a browser link that gets the "tcplogger.html" page from the incebu.com server, the browser retrieves the page fine. Isn't the above tcpconnect supposed to send the same request? If so, why is the server finding and serving the page to the browser and not to the tcpconnect? Here's the actual server response I've been getting that tells me the server cannot find the "tcplogger.html" page. Maybe there's something here that someone else can see that's causing this problem, but I certainly cannot find anything. This is the entire content that's retrieved in the tcpsend, the first part is the header and the second part is the content of the Apache error page: HTTP/1.1 404 Not Found Date: Mon, 07 Jun 2004 14:00:43 GMT Server: Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2634 mod_ssl/2.8.16 OpenSSL/0.9.7a PHP-CGI/0.1b Connection: close Content-Type: text/html; charset=iso-8859-1 404 Not Found

Not Found

The requested URL /tcplogger.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Apache/1.3.29 Server at www.hostingtrade.com Port 80
Of course I should be getting the content of my "tcplogger.html" page instead of the content of the error page, but I'm not -- and that's the whole problem. Please offer helpful suggestions if possible, thanks. -- Kenneth Grome WebDNA Programmer Outsource Service Provider Phone: +6332 255-6591 ------------------------------------------------------------- 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: tcpconnect/tcpsend problem ... ( Kenneth Grome 2004)
  2. Re: tcpconnect/tcpsend problem ... ( Christer Olsson 2004)
  3. Re: tcpconnect/tcpsend problem ... ( devaulw@onebox.com 2004)
  4. Re: tcpconnect/tcpsend problem ... ( John Peacock 2004)
  5. tcpconnect/tcpsend problem ... ( Kenneth Grome 2004)
Here's the entire content of the page at http://incebu.com/tcplogger.html : hello The only purpose of this page is to be retrieved by a tcpconnect that's located in a template on my webdna server with this content in it: [tcpconnect host=incebu.com&port=80] [text]status=[middle startafter=987654321&endbefore=123456789][tcpsend]GET /tcplogger.html HTTP/1.0[unurl]%0D%0A%0D%0A[/unurl][/tcpsend][/middle][/text] [showif [url][status][/url]!online] [sendmail to=webdna@kengrome.com&from=server@webdna.net&subject=incebu.com is down.][status][/sendmail] [/showif] [/tcpconnect] The server is reporting a 'file not found' error when the tcpconnect tries to get the "tcplogger.html" page via the above code, but the file is there as you can see by retrieving it in a browser yourself, so the server seems to be "making a mistake" when it tries to respond to the tcpconnect request. Two other tcpconnects that look exactly like this one work fine. The only difference is that the other two tcpconnects retrieve their files from different domains on different servers -- it is only this domain (and other domains) on this server that don't seem to respond properly when I use tcpconnect. If it weren't for the fact that retrieving the file via the above link works fine, I might actually think that the file is missing. But if I can retrieve it via my browser then I think I should be able to retrieve it via tcpconnect as well. But I cannot! Has anyone else found that tcpconnect fails on a domain when the same requested page can actually be retrieved by a browser? That's the problem I'm having, and I just don't get it. If I click a browser link that gets the "tcplogger.html" page from the incebu.com server, the browser retrieves the page fine. Isn't the above tcpconnect supposed to send the same request? If so, why is the server finding and serving the page to the browser and not to the tcpconnect? Here's the actual server response I've been getting that tells me the server cannot find the "tcplogger.html" page. Maybe there's something here that someone else can see that's causing this problem, but I certainly cannot find anything. This is the entire content that's retrieved in the tcpsend, the first part is the header and the second part is the content of the Apache error page: HTTP/1.1 404 Not Found Date: Mon, 07 Jun 2004 14:00:43 GMT Server: Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2634 mod_ssl/2.8.16 OpenSSL/0.9.7a PHP-CGI/0.1b Connection: close Content-Type: text/html; charset=iso-8859-1 404 Not Found

Not Found

The requested URL /tcplogger.html was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Apache/1.3.29 Server at www.hostingtrade.com Port 80
Of course I should be getting the content of my "tcplogger.html" page instead of the content of the error page, but I'm not -- and that's the whole problem. Please offer helpful suggestions if possible, thanks. -- Kenneth Grome WebDNA Programmer Outsource Service Provider Phone: +6332 255-6591 ------------------------------------------------------------- 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/ Kenneth Grome

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:

Wanted webcatalog coder to build 4 stores (2005) [Sum] function? (1997) Re:redirect from the errorsMessages.db entry (1997) USPS - SiteBuilder (2005) greater than or equal to (1997) Getting total number of items ordered (1997) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) writefile on OSX (2004) wild question (1998) db merge problem (2002) A multi-processor savvy WebCatalog? (1997) 2.1 Stuff (1998) unable to launch acgi in WebCat (1997) Authenticate (1997) RAM variables (1997) RE: creating writefile data from a nested search (1997) WC2b12: Yes, Formulas.db is for real (1997) Printing a final order (1997) [Switch] - works great, suggestion (2000) Search Engine questions ... (2002)