November 28, 2021

A directory file refers to files that are displayed instead of the directory when using the HTTP protocol by means of a web browser when calling up a directory. The name index.html is usually used for these files, but they can also have any other name and file extension depending on the server configuration. Since the directory file is optional, if there is no directory file or the server is configured incorrectly, a directory is visually displayed on the client. Since this can be a security risk, most webmasters disable this feature. In this case, the HTTP status code 403 is displayed.


A scheme in which the web server provides one standard file per directory has been supported since NCSA HTTPd 0.3beta of April 22, 1993, which by default provides the index.html file instead of the directory. This scheme was then adopted by 2.17beta (April 5, 1994) of the CERN HTTPd at the latest, whose standard also supports Welcome.html and welcome.html in addition to the index.html originating from the NCSA. Later web servers usually support this standard file scheme in one way or other form; This is usually configurable, with index.html being one of the default filenames.

Individual evidence

INSERT INTO `wiki_article`(`id`, `article_id`, `title`, `article`, `img_url`) VALUES ('NULL()','index.html','','

Individual evidence