phpMyAdmin RPM install - Access Forbidden

03 Nov 2007
Posted by editor

Using FC6 and SSH into the server, I installed phpMyAdmin using yum. Very straight forward. To access phpMyAdmin you need to enter https://my-server-name/phpMyAdmin This failed with "Access Forbidden". It turns out that the rpm creates a 'phpMyAdmin.conf' file in /etc/httpd/conf.d/ and this file only permits access to 127.0.0.1 by default for security. Because I only ever access remotely, simply modifying the allow directive to my remote ip was sufficient for my needs. Alternatively you could secure your connection using SSL. Removing the file or modifying the directives could open up access to everyone which is a definite security risk.

Trackback URL for this post:

http://www.zygmund.net/trackback/13

Tags: