2

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?

Christopher Orr
  • 110,418
  • 27
  • 198
  • 193
Alexis
  • 23,545
  • 19
  • 104
  • 143

2 Answers2

4

I've done a response yesterday that should fit your needs: Modify htaccess file for two sites

Community
  • 1
  • 1
regilero
  • 29,806
  • 6
  • 60
  • 99
0

Use Alias in apache conf

http://www.apachefriends.org/f/viewtopic.php?f=16&t=36801

Make XAMPP/Apache serve file outside of htdocs

Community
  • 1
  • 1
shikhar
  • 2,431
  • 2
  • 19
  • 29