Apache WWW-server: Document root

Next Previous Contents

## 5. Document root

The directory (in the real filesystem) where your main web pages are found.

An example: If you set document root to `/home/httpd/html`, then accesses to `http://your.webserver.com/index.html` would return the file `/home/httpd/html/index.html`. An access to `http://your.webserver.com/foo/gazonk.gif` would return `/home/httpd/html/foo/gazonk.gif`.

Next Previous Contents