Log in / create account | Login with OpenID
DocForge
Programmer's Wiki

Httpd/DocumentRoot

From DocForge

DocumentRoot is an Apache httpd configuration setting which designates the directory which correlates to the web site root.

[edit] Example

If a web site's documents or scripts exist within a directory /www/htdocs, and this is the path which should handle requests to http://www.example.com/ the DocumentRoot setting would be:

DocumentRoot /www/htdocs
Do you have information or insights to contribute to this article? Please feel free to edit this page. Ask questions or contribute to the discussion on this article's talk page.