LMSouq
php-dev Open

How to secure phpMyAdmin

AN
Andy
1 month ago
3 views
Problem Description
I have noticed that there are strange requests to my website trying to find phpmyadmin, like /phpmyadmin/ /pma/ etc. Now I have installed PMA on Ubuntu via apt and would like to access it via webaddress different from /phpmyadmin/. What can I do to change it? Thanks ___ **Update** For Ubuntu 9.10 and Apache2, the corresponding setting is located in the file `/etc/apache2/conf.d/phpmyadmin.conf` which is a link to `/etc/phpmyadmin/apache.conf`. The file contains Alias /phpmyadmin /usr/share/phpmyadmin where the first `/phpmyadmin` should be changed to something different if one wants to avoid the unnecessary activity, e.g.: Alias /secret /usr/share/phpmyadmin

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base