8

Allow access to PhpMyadmin only on a specified virtualhost

view full story
linux-howto

http://serverfault.com – I'm working on a multiple virtualhost Environment. I've installed PhpMyadmin for Mysql Remote Control. Environment is configurate as below: one.domain.com two.domain.com onlyphpmyadmin.domain.com Now, if i accesso to one of the three domains http://one.domain.com/phpmyadmin/ http://two.domein.com/phpmyadmin/ http://onlyphpmyadmin.domain.com/phpmyadmin/ the result is the same, the access to Phpmyadmin is allowed. The goal is to obtain a situation like this one below http://one.domain.com/phpmyadmin/ --> access denied http://two.domein.com/phpmyadmin/ --> access denied http:/ (HowTos)