Difference between revisions of "Default file name"

From Wiki @ Karl Jones dot com
Jump to: navigation, search
(Created page with "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 suppor...")
 
(Default web server file names)
Line 9: Line 9:
 
Typical default files names include:
 
Typical default files names include:
  
* <code>index.html</code>
+
* '''index.html'''
* <code>index.php</code>
+
* '''index.php'''
  
 
== See also ==
 
== See also ==
  
 
* [[Filename]]
 
* [[Filename]]

Revision as of 16:25, 20 August 2016

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
  • index.php

See also