Links to files with default names

A link can go to a directory rather than a specific file. For example

<a href="http://som.csudh.edu/fac/lpress/">Larry Press Home</a>

is a link to my directory, but it does not specify which file to get.

If no file is specified, the Web server will look for a file with a default name like "index.htm".

The Web server administrator can decide which default names to search for. Both index.htm and default.htm are commonly used, but the administrator can set up any desired default names to be used if a specific file is not requested. If you are not sure what the default file names are for your server, ask its administrator.

A server can have several default document names. The server we are using in this class has been configured to use index.htm, default.htm, or several others as the default page in a directory.


Disclaimer: The views and opinions expressed on unofficial pages of California State University, Dominguez Hills faculty, staff or students are strictly those of the page authors. The content of these pages has not been reviewed or approved by California State University, Dominguez Hills.