So what I have at the moment (for each domain) is this
<VirtualHost *:80>
ServerName exmaple.com
ServerAlias *.example.com
DirectoryIndex index.php index.html
VirtualDocumentRoot /srv/www/example.com/public_html/%0
</VirtualHost>
But I'd like to save having to ever duplicate this for another domain by doing something like this
<VirtualHost *:80>
ServerName *
ServerAlias *
DirectoryIndex index.php index.html
VirtualDocumentRoot /srv/www/%2+/public_html/%0
</VirtualHost>
%2+ being all but the subdomain. Is this even possible…