Originally Posted by NotionCommotion
Thanks, but I do not think you understand my question. They show the following two directories to store webpage files. Could both http and https use a common directory?
Yes I understood your question.
DocumentRoot can be specified at the Global Scope (i.e. server config scope),
where it would apply to all VirtualHost's that don't include a DocumentRoot.
DocumentRoot may also be specified in a VirtualHost container (as it is in the example)
where it would apply to only that VirtualHost.
Therefore, you would specify ONE DocumentRoot, which is NOT inside a VirtualHost
container, and it would apply to ALL VirtualHosts (i.e. http and https).