Two Apache Server Root
- by Sithu Kyaw
I am using Apache Friends (XAMPP). I installed it under C: drive. Its path is C:\xampp\
Its default root is C:\xampp\htdocs.Thus, all programs need to reside in C:\xampp\htdocs\ so that we can run http://localhost/myapp/
PhpMyAdmin comes along with XAMPP, but it resides in C:\xampp\ and it can be run from /localhost/phpMyAdmin/.
When my application is moved to C:\xampp\, I cannot run it /localhost/myapp.
I would like to have two server root C:\xampp\ and C:\xampp\htdocs\ so that I can separate my private apps and public apps in different folders. And both can be run from http://localhost/ such as /localhost/myprivateapp/ and /localhost/mypublicapp/
How can I do that ? I'm on Windows XP.