Page 1 of 1

phpMyAdmin URL and capitalization

PostPosted: 25. February 2017 17:47
by PB&J
Question: Why does http://localhost:8080/phpmyadmin work and http://localhost:8080/phpMyAdmin not work, when the folder containing the index file is phpMyAdmin? (The M and A are capitalized in the path name.)

Background info:
I think I successfully installed the XAMPP on my computer. I am in the How-To Guides under the topic Backup and Restore MySQL/MariaDB Databases. In the Using phpMyAdmin section the instruction states "Browse to http://localhost/phpMyAdmin". Because my port 80 is in use, I am watching 8080. Therefore, I receive a 404 not found error when I try the link. Fine, understood; no problem.
I add the :8080 to the URL to point to http://localhost:8080/phpMyAdmin and try again. Working in Chrome I now get an Object not found fancier version of the 404 not found error.
In the top Nav bar of the How-To page is a phpMyAdmin link. If I click this link, I successfully go to http://localhost:8080/phpmyadmin.
The difference in the URLs used is the capitalization of M and A.
For grins, I actually changed the folder name to phpmyadmin and now going to http://localhost:8080/phpmyadmin results in an Access forbidden error! Why does the capitalization matter in this case, and why does it not match the folder name?
Thank you.

Re: phpMyAdmin URL and capitalization

PostPosted: 25. February 2017 20:13
by Altrea
Because the Alias XAMPP uses is case sensitive:
Code: Select all
Alias /phpmyadmin "C:/xampp/phpMyAdmin/"