Virtualmin 8 phpmyadmin global

SYSTEM INFORMATION
OS type and version Rocky Linux 10.1
Webmin version 2.621
Usermin version 2.521
Virtualmin version 8.0.1 Professional
Theme version 26.22
Apache version 2.4.63
Package updates All installed packages are up to date

Created sub server - installed phpmyadmin using web apps - set it to use globally
Works great and a great addition

Just wondering if there would be a way to protect the phpmyadmin directory from prying people going directly to the URL (example) https://mysubserver.tld.com/phpmyadmin and only allow users from Virtualmin login to access

Reason I ask is protecting directory will not work , I guess because of the pma auth stuff as it will protect the directory but the manage in php button in virtualmin will not work correctly

Just wondering as bad actors look for phpmyadmin

2 Likes

It will work in the next Virtualmin 8.1.0 release. If you want it to work now, use this patch:

webmin patch https://github.com/virtualmin/virtualmin-gpl/commit/bdba751

@Ilia
Thanks!
I’m willing to try the patch
will update

1 Like

Maybe I’m misunderstanding on how to apply the patch, I used the cli command you posted
protected directory still gives(clicking manage in phpmyadmin button in edit databases in Virtual Server)

1 Like

Button for manage in phpmyadmin no longer works for any virtual servers now
Guess I will nuke subserver and try again

1 Like

something goofy going on with SELinux
will report back when I figure it out

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.