I wondered if there was of creating a vhost application which allows you to automatically assist in configuring hosts file and the vconf apache file
i spent a long time learning how to make a basic vhost so i can be creating multiple sites ..
i basically have to edit the hosts file and create a .local mapping testsite.local pointing that at 127.0.0.1
edit the httpd.conf and make sure the vhost module is accessible since it is # remarked out at the start
LoadModule vhost_alias_module modules/mod_vhost_alias.so
then edit the wamp vhost file wamp\bin\apache2.2.11\conf\ and the httpd-vhost.conf
<VirtualHost 127.0.0.1:80>
ServerName testsite.local
DocumentRoot C:/wamp/www/testsite/
ErrorLog C:/wamp/www/testsite/logs/error.log
CustomLog C:/wamp/www/testsite/logs/access.log common
</VirtualHost>
then a restart which will then allow a simple activation of the vhost .. if this can be done by a simple input form .. and match the domain name to a directory in the htdocs folder automatically
what do you think and suggestions