Basic HTML version of Foils prepared 11 May 1997

Foil 14 URL - Uniform Resource Locator

From Setting the Stage for CGI Programming: HTTP, URL, CGI, MIME, HTTPD and many other acronyms ECS400 Senior Undergraduate Course -- Spring Semester 1997. by Nancy J. McCracken *

A URL has the standard form
  • service://machine:port/file.file-extension
HTML hyperlinks typically use the service http for linking to other documents and media files. Some other internet services can also be used such as
  • ftp://machine/file.file-extension.
In this way, a Web server can provide other Internet services through the browser interface.
The machine is an Internet address and can either be a symbolic name provided by the Domain Name Service (DNS) or the IP numbers.
If the port is not specified, it defaults to 80.
The file.file-extension is given by any Unix path name starting from the directory known to the server as "document root". Which path names are valid is one of the options of the server - whether "public_html" is automatically put into the path name and whether paths starting with "~username" are allowed.
In the http service, the file-extension is used to tell the browser what helper application to use to view the file. Typical file extensions are html, gif, jpeg, mpeg, au, ram, etc.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Aug 21 1997