I haven't come up with a solution for you.. well not exactly...
If you could make the DirectoryIndex of the vhost to be that query string ie.
Code:
DirectoryIndex index.php?yourquerystring
And were to make the document root of the subdomain point to that...