As long as you don't have any legitimate requests for anything containing "phpmyadmin", then you can simply do add this rule near the top of the htaccess file in your document root:
RewriteRule phpbbadmin /bottrap/index.php [L]
Include the R
flag if you actually want to redirect the request: [L,R]
.
I figured just for good measure I'd add a deny to all in the robots.txt file and say thanks for the visit by contributing the ip address to the honeypot project.
I doubt these bots honor the robots.txt file. If anything these are compromised websites or otherwise users unwittingly hosting malicious code either on their websites or home PCs. You can include a DENY From <ipaddress>
in the htaccess file if the requests get annoying, but adding them in the robots.txt probably isn't going to do much.
Adding NC makes it pick up case variations.
RewriteRule phpmyadmin /phpmyadmin/index.php [L,NC]