Douglas E. Comer
Computer Science Department
Purdue University
West Lafayette, IN 47907
webmaster: W. David Laverell
Companion
Topics
Home
Book
Information
Purpose
of Site
Getting
Started
Students
Faculty
"What's
New"
"Coming
Attractions"
"C Pointers"
Acknowledgements
|
|
Hands-On Networking: Experiment 3.2
Home > Student > Experiments > 3.2
Experiment 3.2
Here is a condensed version of what you should see on a Unix machine:
Script started on Tue 14 Jun 2005 10:22:18 AM EDT
stallman ~$ telnet www.labbook.cs.purdue.edu 80
Trying 128.10.19.20...
Connected to www.labbook.cs.purdue.edu.
Escape character is '^]'.
GET http://www.labbook.cs.purdue.edu HTTP/1.0
HTTP/1.0 200 OK
Date: Tue, 14 Jun 2005 14:23:23 GMT
Server: Apache/2.0.50 (Unix) PHP/5.0.2
X-Powered-By: PHP/5.0.2
Content-Length: 7321
Content-Type: text/html; charset=ISO-8859-1
Via: 1.1 labbook.cs.purdue.edu (Apache/1.3.31)
X-Cache: MISS from labbook.cs.purdue.edu
X-Cache: MISS from berners-lee.cs.calvin.edu
X-Cache-Lookup: MISS from berners-lee.cs.calvin.edu:3128
Proxy-Connection: close
<META http-equiv=Content-Type content="text/html; charset=windows-1252"><!-- Meta Tags -->
<META content="W. David Laverell" name=author>
<!-- Text Styles --><LINK
href="css1.css" type=text/css rel=stylesheet>
</HEAD>
</BODY></HTML>
Connection closed by foreign host.
stallman ~$ exit
exit
Script done on Tue 14 Jun 2005 10:23:28 AM EDT
I thank Mike Stinson of Central Michigan University
for letting me know that number 2 is not as
simple as it seems.
From his description of the problem he was having
and the fact that things were working just fine for
me I
first feared that it was a matter of access to the
web server through telnet. I went over to Calvin Information
Technology to see what the college firewall might be blocking.
Brian Baas decided to try the experiment, and for the first
time I saw what it looked like on a Windows machine. Exactly
the behavior Mike had described.
What happens is simply that the display refuses to show you
anything including the characters you type. However, if
you type the URL exactly right, you will get the page.
Petar Konovski of Birkbeck, University of London has been kind
enough to provide the following procedure that makes things a
lot easier:
- telnet
- set localecho
- open labbook.cs.purdue.edu 80
- get "Connecting To cookie.update.uu.se..."
- Type "GET http://www.labbook.cs.purdue.edu HTTP/1.0"
(notice where it appears on the screen)
and hit the Enter key twice.
- Read the html file, and then type "Quit", and hit the
Enter key.
This site is maintained by W. David Laverell
of the Computer Science Department
at Calvin College. For assistance or corrections,
please contact him at . |
|