===== Document Root ===== A term, originally named after the configuration parameter ''DocumentRoot'' which is defined for the [[apache|Apache web server]], which has come to mean the top-level directory of a web server. It is usually a real physical directory (or folder) on the hosting server's fie system and any documents or directories placed in ''DocumentRoot'' will themselves become resources on the web site's [[uri|URI]]. the [[uri|URI]] "/" on the host operating system is mapped to the physical directory defined by the ''DocumentRoot'' parameter and any other static documents, resources and directories contained within the ''DocumentRoot'' will be mapped to the //file path// part of the [[uri|URI]] relative to ''DocumentRoot''. So for example, if you install the [[Drupal CMS]] on your web server, ''DocumentRoot'' will contain a folder ''drupal'' which contains ''index.php'': the [[uri|URI]] will be http://host.domain/drupal/index.php or more simply http://host.domain/drupal/. Although the file path part of the [[uri|URI]] hints at a traditional (Unix-like) file structure, the modern web server's support of [[virtual_directory|Virtual Directories]], [[virtual_host|Virtual Hosts]], [[cgi|CGI]] scripts, [[web_application|web applications]] and [[url_rewrite|URL rewriting]], means that this will not necessarily be the case. In a sense web server [[uri|URI]]s are similar to [[unix_file_system|Unix file systems]] in that they appear to form a single rooted file hierarchy which in facts hides the actual location of the resources that a web server provides. ---- [[Glossary]] : [[glossary#A|A]] | [[glossary#B|B]] | [[glossary#C|C]] | [[glossary#D|D]] | [[glossary#E|E]] | [[glossary#F|F]] | [[glossary#G|G]] | [[glossary#H|H]] | [[glossary#I|I]] | [[glossary#J|J]] | [[glossary#K|K]] | [[glossary#L|L]] | [[glossary#M|M]] | [[glossary#N|N]] | [[glossary#O|P]] | [[glossary#Q|Q]] | [[glossary#R|R]] | [[glossary#S|S]] | [[glossary#T|T]] | [[glossary#U|U]] | [[glossary#V|V]] | [[glossary#W|W]] | [[glossary#X|X]] | [[glossary#Y|Y]] | [[glossary#Z|Z]]