Very often I have to create a virtual host in apache and I keep on forgetting the syntax.
This should help out:
NameVirtualHost *:80
<VirtualHost *:80>DocumentRoot "C:\www.ycsoftware.net"ServerName ycsoftware.net<Directory "C:\www.ycsoftware.net">allow from allOptions +Indexes</Directory></VirtualHost>