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 Facebook
Facebook
Tweet about this on Twitter
Twitter
Share on LinkedIn
Linkedin