weiwang168@gmail.com wrote:
> Does this mean that I cannot rely on the Document Root value when the
> site is managed under Dynamic Virtual Host?
If by "dynamic virtual host" you mean some mass-vhosting solution,
then yes.
With normal vhosts, apache keeps information for each host in a separate
object. That includes both simple stuff like document root and more
expensive stuff like file descriptors for the logs. That's great for
a small number of hosts, but doesn't scale well to larger numbers.
So mass-virtual-hosting uses a single server_rec for all vhosts.
--
Nick Kew