[REBOL] Re: url domain
From: g:santilli:tiscalinet:it at: 7-Oct-2003 10:02
Hi Anton,
On Tuesday, October 7, 2003, 4:38:35 AM, you wrote:
AR> So it looks, at least for this webserver, that
AR> a relative link that begins with a slash means go
AR> to the root first.
Actually, that does not depend on the web server at all. Relative
links are resolved client-side by the browser. A slash at the
beginning always means "the root". Two slashes means another host,
with the same protocol. I.e. a URL is of the form:
[[[http:]//somehost]/somepath/]somefile
with optional parts in []. You can specify them all, or you can
just specify //somehost/somepath/somefile (the protocol is the
same as the current page), /somepath/somefile (the protocol and
the host are the same as the current page), somefile (protocol,
host and path are the same of current page).
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/