NameVirtualHost *:80
<VirtualHost example.com:80>
DocumentRoot "C:\xampp\htdocs\example\public"
ServerName example.com
ServerAlias www.example.com
<Directory "c:/xampp/htdocs/example/public">
Require all granted
</Directory>
</VirtualHost>
<VirtualHost blog.com:80>
DocumentRoot "C:\xampp\htdocs\blog\public"
ServerName blog.com
ServerAlias www.blog.com
<Directory "c:/xampp/htdocs/blog/public">
Require all granted
</Directory>
</VirtualHost>
#Listen 2009
#<VirtualHost *:2009>
#DocumentRoot "C:/xampp/htdocs/demo_codeigniter"
#ServerName localhost
#</VirtualHost>