Page 1 of 1

xampp root

PostPosted: 29. January 2011 16:08
by tomJones
Installed xampp successfully, but I'm a little confused about pathing.

I installed to c:\xampp

When I navigate to http://localhost/index.html it points to C:\xampp\htdocs\index.html
When I navigate to http://localhost/phpmyadmin/index.php it points to c:\xampp\phpMyAdmin\index.php

In the first example, why can I leave off the htdocs? It seems to me like there are two root directories, c:\xampp and c:\xampp\htdocs.

Also, why does the url have to be lowercase letters but the directory is capital letters?

Thanks for any help/insight you can give me

Re: xampp root

PostPosted: 29. January 2011 16:16
by Altrea
Because there is an Alias for phpmyadmin setted in the Apache config file C:\xampp\apache\conf\extra\httpd-xampp.conf.
The phpmyadmin folder is outside of the DocumentRoot and can't be requested with an url without this alias.

Re: xampp root

PostPosted: 29. January 2011 23:58
by tomJones
Excellent, thank you for your help!

Re: xampp root

PostPosted: 30. January 2011 00:31
by Altrea
You're welcome 8)