|
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/
Navigation:
[Reply to this message]
|