1 Answers

When an HTTP client requests a URL that points to a directory structure instead of an actual web page within the directory structure, the web server will generally serve a default page, which is often referred to as a main or "index" page.

A common filename for such a page is index.html, but most modern HTTP servers offer a configurable list of filenames that the server can use as an index. If a server is configured to support server-side scripting, the list will usually include entries allowing dynamic content to be used as the index page even though it may be more appropriate to still specify the HTML output , as this should not be taken for granted. An example is the popular open source web server Apache, where the list of filenames is controlled by the DirectoryIndex directive in the main server configuration file or in the configuration file for that directory. It is possible to not use file extensions at all, and be neutral to content delivery methods, and set the server to automatically pick the best file through content negotiation.

If the server is unable to find a file with any of the names listed in its configuration, it may either return an error or generate its own index page listing the files in the directory. Usually this option, often named autoindex, is also configurable.

4 views

Related Questions

What is Spider web?
1 Answers 5 Views
What is Index (publishing)?
1 Answers 4 Views
What is Nortel Speech Server?
1 Answers 5 Views
What is Index of dispersion?
1 Answers 6 Views
What is Web portal?
1 Answers 5 Views
What is Authentication server?
1 Answers 5 Views
What is TIOBE index?
1 Answers 7 Views
What is Web colors?
1 Answers 4 Views