Posted by:
c2dan
(---.15-1.cable.virginmedia.com)
First you need to enable the mod_vhost_alias module
Left click wamp tray icon choose Apache > Module > vhost_alias_module
You need to something like the following in "conf/extra/httpd-vhosts.conf" as per example in the documentation linked above.
# get the server name from the Host: header
UseCanonicalName Off
# this log format can be split per-virtual-host based on the first field
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon
CustomLog logs/access_log vcommon
# include the server name in the filenames used to satisfy requests
VirtualDocumentRoot /www/hosts/%0/docs
VirtualScriptAlias /www/hosts/%0/cgi-bin
You do not use <VirtualHost></VirutalHost> tags. Just the directives posted above. I can only suggest you to go through the documentation linked above to understand how to use mass virtual hosting.