To avoid Apache restart, Dynamically Configured Mass Virtual Hosting is used. But, --in this case-- Apache takes vhost configurations from directory pattern. So, I am not free to choose DocumentRoot directory which doesn't match with selected pattern. For example, if I have set pattern like ...user/www/domain/subdomain, I will have to create directories like the pattern to add a domain/subdomain as vhost.
But, cPanel allows its users to freely choose DocumentRoot for add-on domains & subdomains they add. And, it doesn't restart Apache each time a change is made. Changes are instantaneous too.
What does cPanel exactly do to Apache configurations?
I've guessed that it has to do with the same Dynamically Configured Mass Virtual Hosting, but I've given up after few days of brainstorming. Can you please help?