| Syntax: | root path |
| Default: | html |
| Context: | http server location if in location |
| Reference: | root |
root specifies the document root for the requests. For example, with this configuration
A request for "/i/top.gif" will return the file "/spool/w3/i/top.gif". You can use variables in the argument.
note: Keep in mind that the root will still append the directory to the request so that a request for "/i/top.gif" will not look in "/spool/w3/top.gif" like might happen in an Apache-like alias configuration where the location match itself is dropped. Use the alias directive to achieve the Apache-like functionality.