仮想ホスト設定(apache/conf/extra/httpd-vhosts.conf)ファイルで各ドメイン名をそれぞれのディレクトリに関連付けます
<VirtualHost *:80>
ServerName drills.local
DocumentRoot C:/develop/sources/php/ligare
ServerAdmin root@drills
<Directory "C:/develop/sources/php/ligare">
Options All
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName ligare.local
DocumentRoot C:/develop/sources/php/ligare
ServerAdmin root@drills
<Directory "C:/develop/sources/php/ligare">
Options All
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName wp.local
DocumentRoot C:/develop/sources/php/wordpress
ServerAdmin root@drills
<Directory "C:/develop/sources/php/wordpress">
Options All
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>