NameVirtualHost *:80 ServerAdmin webmaster@hosttosucceed.com DocumentRoot D:/hosttosucceed.com ServerName hosttosucceed.com ServerAlias www.hosttosucceed.com ServerAdmin somefoo@domain1.com ServerName domain1.com ServerAlias www.domain1.com # include the server name in the filenames used to satisfy requests VirtualDocumentRoot D:/www/customer/%0 VirtualScriptAlias D:/www/customer/%0/cgi-bin ServerAdmin somefoo@domain2.com ServerName domain2.com ServerAlias www.domain2.com # include the server name in the filenames used to satisfy requests VirtualDocumentRoot D:/www/customer/%0 VirtualScriptAlias D:/www/customer/%0/cgi-bin # 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.txt vcommon