Apache vhost Template

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 all
Options +Indexes
</Directory>
</VirtualHost>
Let's share thisShare on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn