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
  • 108,329
  • 27
  • 193
  • 189
Alexis
  • 21,572
  • 18
  • 95
  • 139

2 Answers2

4

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

Community
  • 1
  • 1
regilero
  • 28,801
  • 6
  • 58
  • 97
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,411
  • 2
  • 19
  • 29