Solve phpmyadmin path problems behind (apache) proxy
This applies also to other proxies (varnish, nginx, ...), you have to correct the path in the phpmyadmin config.inc.php
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 config.inc.php
:
$cfg['PmaAbsoluteUri'] = 'http://www.example.com/pma/';
Note that you also specify the directory where phpmyadmin lies in. www.example.com
is the hostname as seen from the outside, the one you use to finally access phpmyadmin.
Source: http://jesin.tk/installing-phpmyadmin-behind-varnish/
Written by Dominique Sandoz
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Proxy
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#