What would be the best way to set up XAMPP so that when I go to
http://localhost1 it access the folder C:\开发者_如何学运维localhost1
and when I type
http://localhost2 it access the folder C:\localhost2?
I've done a response yesterday that should fit your needs: Modify htaccess file for two sites
Use Alias in apache conf
http://www.apachefriends.org/f/viewtopic.php?f=16&t=36801
Make XAMPP/Apache serve file outside of htdocs
加载中,请稍侯......
精彩评论