xampp root

Problems with the Windows version of XAMPP, questions, comments, and anything related.

xampp root

Postby tomJones » 29. January 2011 16:08

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
tomJones
 
Posts: 2
Joined: 29. January 2011 15:58

Re: xampp root

Postby Altrea » 29. January 2011 16:16

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64

Re: xampp root

Postby tomJones » 29. January 2011 23:58

Excellent, thank you for your help!
tomJones
 
Posts: 2
Joined: 29. January 2011 15:58

Re: xampp root

Postby Altrea » 30. January 2011 00:31

You're welcome 8)
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 8294
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 42 guests