Skillnaden mellan URI och URL

February 15th, 2010 | Posted by admin in Server - (1 Comments)

Jag har aldrig riktigt greppat skillnaden mellan URI (Uniform Resource Identifier) och URL (Uniform Resource Locator), men i en tutorial om mod_rewrite på nettuts+ hittade jag följande förklaring som jag tycker förklarar skillnaden på ett tydligt sätt:

A URI is just an indicator of where a resource is. This means that multiple URIs can point to the same resource but are themselves different addresses. Following a URI might take any number of hops or redirections until it actually arrives at the resource. A URL however, is a stricter term that identifies the exact location of a resource.