Thanks gabrielle, Very informative!
However in http://www.rebol.net/cookbook/index.html I have found some links that do not match the form: [[[http:]//somehost]/somepath/]somefile for example, <A HREF="recipes/0001.html"> As it seems, a subpath can appear in the link, giving a more general form like [[[http:]//somehost]/somepath/][subpath/]somefile What do you think? Regards Patrick ----- Original Message ----- From: Gabriele Santilli <[EMAIL PROTECTED]> To: Anton Rolls <[EMAIL PROTECTED]> Sent: Tuesday, October 07, 2003 10:02 AM Subject: [REBOL] Re: url domain > > 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 <[EMAIL PROTECTED]> -- REBOL Programmer > Amiga Group Italia sez. L'Aquila --- SOON: http://www.rebol.it/ > > -- > To unsubscribe from this list, just send an email to > [EMAIL PROTECTED] with unsubscribe as the subject. > -- To unsubscribe from this list, just send an email to [EMAIL PROTECTED] with unsubscribe as the subject.
