Two Apache Server Root

Posted by Sithu Kyaw on Server Fault See other posts from Server Fault or by Sithu Kyaw
Published on 2012-04-06T06:31:08Z Indexed on 2012/04/10 5:33 UTC
Read the original article Hit count: 511

Filed under:
|

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.

© Server Fault or respective owner

Related posts about webserver

Related posts about xampp