Uniform Resource Locator: Difference between revisions
Jump to navigation
Jump to search
imported>Howard C. Berkowitz (Again, the Internet is more than the Web) |
imported>Howard C. Berkowitz m (can't type tonight) |
||
Line 3: | Line 3: | ||
<center><code><scheme>:<scheme-specific-part></code></center> | <center><code><scheme>:<scheme-specific-part></code></center> | ||
A URL contains the name of the scheme being used (<scheme>) followed by a colon and then a string (the <scheme-specific-part>) whose interpretation depends on the scheme. <ref name=RFC1738>{{citation | A URL contains the name of the scheme being used (<scheme>) followed by a colon and then a string (the <scheme-specific-part>) whose interpretation depends on the scheme. <ref name=RFC1738>{{citation | ||
Line 12: | Line 13: | ||
==Representative schemes== | ==Representative schemes== | ||
==Primary WWW usage== | ==Primary WWW usage== | ||
Most often, URLs use a scheme of <code>http</code> to refer to the [[ | Most often, URLs use a scheme of <code>http</code> to refer to the [[Hypertext Transfer Protocol]] as the scheme, and a fully qualified [[Domain Name System]] (DNS) name as the locator. | ||
commonly refers to a link on the [[World Wide Web]]. URLs usually start with <nowiki>http://</nowiki>, e.g. this page's URL is http://en.citizendium.org/wiki/Uniform_Resource_Locator. In this example, the en.citizendium.org is a [[domain name system|DNS name]]. | commonly refers to a link on the [[World Wide Web]]. URLs usually start with <nowiki>http://</nowiki>, e.g. this page's URL is http://en.citizendium.org/wiki/Uniform_Resource_Locator. In this example, the en.citizendium.org is a [[domain name system|DNS name]]. |
Revision as of 21:31, 20 July 2008
Most commonly used to find resources on the World Wide Web, but much more general in capability, a Uniform Resource Locator (URL). Their syntax is:
<scheme>:<scheme-specific-part>
A URL contains the name of the scheme being used (<scheme>) followed by a colon and then a string (the <scheme-specific-part>) whose interpretation depends on the scheme. [1]
Representative schemes
Primary WWW usage
Most often, URLs use a scheme of http
to refer to the Hypertext Transfer Protocol as the scheme, and a fully qualified Domain Name System (DNS) name as the locator.
commonly refers to a link on the World Wide Web. URLs usually start with http://, e.g. this page's URL is http://en.citizendium.org/wiki/Uniform_Resource_Locator. In this example, the en.citizendium.org is a DNS name.
Direct IP protocol request
//<user>:<password>@<host>:<port>/<url-path>
References
- ↑ Berners-Lee T, Masinter L, McCahill M (December 1994), Uniform Resource Locators (URL), RFC 1738