phpMyAdmin URL and capitalization

Und alles was mit phpMyAdmin seine Verwandtschaft findet hat hier seinen Platz.

phpMyAdmin URL and capitalization

Postby PB&J » 25. February 2017 17:47

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.
PB&J
 
Posts: 1
Joined: 25. February 2017 17:00
XAMPP version: 5.6.28
Operating System: Windows 7 Professional SP 1

Re: phpMyAdmin URL and capitalization

Postby Altrea » 25. February 2017 20:13

Because the Alias XAMPP uses is case sensitive:
Code: Select all
Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
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: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 10 Pro x64


Return to phpMyAdmin

Who is online

Users browsing this forum: No registered users and 30 guests