Next / Previous / Contents / TCC Help System / NM Tech homepage

2.4. Relative URI

It is cumbersome to use a full, absolute URI for every reference to a resource. Consequently, you can use a relative URI in many locations.

For example, a document located at “http://www.nmt.edu/” may refer to another document located at “http://www.nmt.edu/tcc/homepage.html” using that absolute URL. Alternately, it may use the relative URL “tcc/homepage.html”.

A relative URI must always be evaluated in the context of an absolute base URI. In the example above, the relative URI is evaluated in the context of the base URI “http://www.nmt.edu/”.

For complete details of URIs and the process of converting a relative URI to absolute form, see RFC 3986: Uniform Resource Identifier (URI): Generic Syntax.