What I want to do is have dynamically created virtualhosts based on a username and subfolder, for example if I were to create the following folder:
/home/USER/www/PROJECT_FOLDER
The following domain will be mapped to the previous folder as its webroot
http://PROJECT_FOLDER.USER.domain.com
Aside from creating a script that checks for new folders, creating the matching VirtualHost in the Apache configuration, and restarting HTTPD, is there a config-friendly method of accomplishing this?
-- EDIT -- Thank you @kashani for suggesting mod_vhost_alias. It worked perfectly.