An amount be the easiest method to setup XAMPP to ensure that after i visit
http://localhost1
it access the folder C:\localhost1
so when I type
http://localhost2
it access the folder C:\localhost2
?
Use Alias in apache conf
I have done an answer yesterday which should meet your needs: Modify htaccess file for two sites