You are here: Re: how this works (redirection??) « HTML « IT news, forums, messages
Re: how this works (redirection??)

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

 

Navigation:

[Reply to this 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

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