Name
VirtualDocumentRoot
Synopsis
VirtualDocumentRoot interpolated-directory Default: None Server config, virtual host Compatibility: VirtualDocumentRoot is only available in 1.3.7 and later.
The VirtualDocumentRoot
directive allows you to
determine where Apache will find your documents based on the value of
the server name. The result of expanding
interpolated-directory
is used as the root of the
document tree in a similar manner to the
DocumentRoot
directive’s
argument. If interpolated-directory
is none, then
VirtualDocumentRoot
is turned off. This directive
cannot be used in the same context as
VirtualDocumentRootIP
.
Get Apache: The Definitive Guide, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.