HOW TO FIX ""The requested URL /phpMyAdmin was not found on this server.""
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
HOW TO FIX ""The requested URL /phpMyAdmin was not found on this server.""
i have install apache,php,mysql and then I have installed the phpmyadmin by issueing the command in terminal
sudo apt-get install phpmyadmin
after this ,in my web brower i type... localhost/phpmyadmin ,it give the error message
"Not Found
The requested URL /phpMyAdmin was not found on this server.
Apache/2.2.12 (Ubuntu) Server at localhost Port 80"
Please help me to solve it
Click here to see the post LQ members have rated as the most helpful post in this thread.
Should you get a 404 "Not Found" error when you point your browser to the location of phpMyAdmin (such as: http://localhost/phpmyadmin) this is likely caused by not checking the 'Apache 2' selection during installation. To redo the installation run the following:
Code:
sudo dpkg-reconfigure -plow phpmyadmin
Then select Apache 2 for the webserver you wish to configure.
If this does not work, then you can do the following to include the phpMyadmin-shipped Apache configuration into Apache:
Just wanted to thank you for the help. After numerous purges and reinstalls with the same results your fix worked. The first code gave no change, but the second code gave me the results I needed. Again, Thanks to Smoker for the help.
# Disallow web access to directories that don't need it
<Directory /usr/share/phpmyadmin/libraries>
Order Deny,Allow
Require valid-user--------------------here there was as Deny from All---------------
</Directory>
<Directory /usr/share/phpmyadmin/setup/lib>
Order Deny,Allow
Require valid-user--------------------same as above--------------------------------
</Directory>
with this change when I access the localhost/phpmyadmin it prompts a username password field that was setup at the phpadmin install process.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.