Reply to Re: Telnet http commands (OT?)

Your name:

Reply:


Posted by Toby Inkster on 11/25/05 09:48

laurent.herve23 wrote:

> i have troubles to retrieve the http://www.lemonde.fr
> main page throught telnet. [...] otherways when i try to open the
> tag.lemonde.fr in telnet i get a 302 : this page has moved,

[tai@ophelia (pts/0) ~]$ telnet tag.lemonde.fr 80
Trying 193.149.121.10...
Connected to tag.lemonde.fr (193.149.121.10).
Escape character is '^]'.
HEAD / HTTP/1.1
Host: tag.lemonde.fr

HTTP/1.1 302 Found
Date: Fri, 25 Nov 2005 07:46:43 GMT
Server: Apache/1.3.27 (Unix)
Location: http://www.lemonde.fr/
Connection: close
Content-Type: text/html; charset=iso-8859-1

Connection closed by foreign host.
[tai@ophelia (pts/0) ~]$ telnet www.lemonde.fr 80
Trying 84.45.224.6...
Connected to www.lemonde.fr (84.45.224.6).
Escape character is '^]'.
HEAD / HTTP/1.1
Host: www.lemonde.fr

HTTP/1.1 200 OK
Server: Apache
X-Auth-Control: mod_auth_lemonde
Last-Modified: Fri, 25 Nov 2005 07:36:43 GMT
ETag: "8ca949-100f6-4386bf0b"
Content-Type: text/html
Date: Fri, 25 Nov 2005 07:47:12 GMT
Connection: keep-alive

Connection closed by foreign host.
[tai@ophelia (pts/0) ~]$

--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация