ローカル環境でバーチャルホストを使いたい場合、サーバー名を aaa.localhost と bbb.localhost などとして設定すればいい。

まず、hosts ファイルを以下のように編集しておく。hosts ファイルは Windows XP では C:\WINDOWS\system32\drivers\etc にある。

127.0.0.1       localhost aaa.localhost bbb.localhost

つぎに C:\pleiades\xampp\apache\conf\extra\httpd-vhosts.conf にバーチャルホストの設定を追記する。

<VirtualHost *:80>
  ServerAdmin postmaster@aaa.localhost
  DocumentRoot "C:\pleiades\xampp\htdocs\aaa"
  ServerName aaa.localhost
  ErrorLog "logs/aaa.localhost-error.log"
  CustomLog "logs/aaa.localhost-access.log" combined
  
  <Directory "C:/pleiades/xampp/htdocs/aaa/">
    Options FollowSymLinks Includes ExecCGI MultiViews
    AllowOverride All
    Allow from all
  </Directory>
</VirtualHost>

<VirtualHost *:80>
  ServerAdmin postmaster@bbb.localhost
  DocumentRoot "C:\pleiades\xampp\htdocs\bbb"
  ServerName bbb.localhost
  ErrorLog "logs/bbb.localhost-error.log"
  CustomLog "logs/bbb.localhost-access.log" combined
  
  <Directory "C:/pleiades/xampp/htdocs/bbb/">
    Options FollowSymLinks Includes ExecCGI MultiViews
    AllowOverride All
    Allow from all
  </Directory>
</VirtualHost>