Reply to Re: single dot prefix for hyperlinks

Your name:

Reply:


Posted by Jukka K. Korpela on 09/21/06 21:04

Andy Dingley wrote:

> Otherwise the resolution of the URLs ought to point to the same
> directory.

No, the resolution of the relative URLs produces the same _absolute URL_.
Whether the server happens to treat it as referring to a directory is just
coincidental (see Alan Flavell's reply).

> As to the actuality for your real server, then take the URL
> of this page (which you didn't tell us) and see what you get by
> following each link.

The server is not involved in any way in the URL resolution business, which
is just string manipulation carried out by the _browser_. Only after
resolving the absolute URL will the browser try to contact the server, and
the server only gets the resolved absolute URL (split into parts, but that's
irrelevant here).

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

[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

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