Allow httpd subservices to set the document root

Only the main service OR one of the subservices can set the document
root. This is used by mediawiki when it is hosted at the root of the
vhost.
Mediawiki: Add some needed rewrites