[nardo@ilona cgi-bin]$ cat loc.cgi #!/usr/bin/perl print "Location: http://www.google.com\n\n"; [nardo@ilona cgi-bin]$ telnet localhost www Trying 127.0.0.1... Connected to ilona. Escape character is '^]'. GET /cgi-bin/loc.cgi HTTP/1.0 HTTP/1.1 302 Found Date: Wed, 05 Jul 2000 20:25:56 GMT Server: Apache/1.3.9 (Unix) Location: http://www.google.com Connection: close Content-Type: text/html 302 Found

Found

The document has moved here.


Apache/1.3.9 Server at 216.254.31.132 Port 80
Connection closed by foreign host.