Multiple DocumentRoot in XAMPP or Apache
-
25-09-2019 - |
Question
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
?
Solution
I've done a response yesterday that should fit your needs: Modify htaccess file for two sites
OTHER TIPS
Use Alias in apache conf
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow