Last Updated: February 25, 2016
· streunerlein

Solve phpmyadmin path problems behind (apache) proxy

This applies also to other proxies (varnish, nginx, ...), you have to correct the path in the phpmyadmin which lies normally in the phpmyadmin directory or in case you installed via aptitude on ubuntu (precise and higher) in /etc/phpmyadmin.

Fix it by adding this line to

$cfg['PmaAbsoluteUri'] = '';

Note that you also specify the directory where phpmyadmin lies in. is the hostname as seen from the outside, the one you use to finally access phpmyadmin.