People talk about URLs, URIs, and URNs as if they\'re different things, but they look the same to the naked eye.
W
Although the terms URI and URL are strictly defined, many use the terms for other things than they are defined for.
Let’s take Apache for example. If http://example.com/foo is requested from an Apache server, you’ll have the following environment variables set:
REDIRECT_URL: /fooREQUEST_URI: /fooWith mod_rewrite enabled, you will also have these variables:
REDIRECT_SCRIPT_URL: /fooREDIRECT_SCRIPT_URI: http://example.com/fooSCRIPT_URL: /fooSCRIPT_URI: http://example.com/fooThis might be the reason for some of the confusion.