Default file name

From Wiki @ Karl Jones dot com
Jump to: navigation, search

A default file name is a file name which will be used by default, if no name is provided.

Default web server file names

Web servers typically support default file names.

When the server receives a request, and the request does not include a file name in the URL, the server looks for a default file. The server has a list default file names. The server checks the list to see if a default file exists; if it does, the server returns that file.

Typical default files names include:

  • index.html - for HTML web pages.
  • index.php - for PHP web pages.

See also