I’m not sure that you can edit the vhost configs yourself (could be wrong!).
If not, you could use .htaccess rules in directories to replicate your desired functionality, or if the core rules don’t require continual changes you might be able to get one of the techies at Support to implement the rules for your PS on your behalf.
Maximum Cash Discount on any plan with MAXCASH
How To Install PHP.INI / ionCube on DreamHost