| 
 Posted by Jim Hayter on 08/11/05 17:24 
On 10 Aug 2005 17:27:09 -0700, in alt.apache.configuration, 
"siliconmike" <siliconmike@yahoo.com> wrote: 
 
<snip> 
 
>try yahoo.org - they take you to yahoo.com without double loading.. 
> 
>is this a dns trick or what? 
> 
>Mike 
 
It is done by sending a 301 status, generated by the web server: 
 
08/11/05 10:21:45 Browsing http://yahoo.org 
Fetching http://yahoo.org/ ... 
GET / HTTP/1.1 
Host: yahoo.org 
Connection: close 
User-Agent: Sam Spade 1.14 
 
HTTP/1.1 301 Moved Permanently 
Date: Thu, 11 Aug 2005 14:22:16 GMT 
Location: http://www.yahoo.com/ 
Connection: close 
Transfer-Encoding: chunked 
Content-Type: text/html; charset=iso-8859-1 
 
The document has moved <A HREF="http://www.yahoo.com/">here</A>.<P> 
<!-- p1.rc.scd.yahoo.com uncompressed/chunked Thu Aug 11 07:22:16 PDT 
2005 --> 
 
 
HTH, 
Jim
 
[Back to original message] 
 |