--- On Wed, 6/18/08, Herta Van den Eynde herta.vandeneynde@gmail.com wrote:
From: Herta Van den Eynde herta.vandeneynde@gmail.com Subject: [CentOS] Forbidden: You don't have permission to access /phpMyAdmin/ on this server. To: centos@centos.org Date: Wednesday, June 18, 2008, 10:32 AM Environment:
- CentOS 5.1,
- Apache 2.2.3
- php 5.1.6
- phpMyAdmin 2.11.6
- MySQL 5.0.22
Brand new system, brand new installation of all the above products. All looks well, but when I try to connect to phpMyAdmin, I get an error: "Forbidden: You don't have permission to access /phpMyAdmin/ on this server".
I'll forgo all the paths I followed trying to get this to work and cut to the "solution": I renamed the phpMyAdmin directory to pma, copied all files in the pma directory to a new phpMyAdmin
Make the small Config file below. Notice that the folder is now above your web root (/var/www/html/)
http://localhost/pma -- will navigate to the new install
------------ /etc/httpd/conf.d/phpMyAdmin.conf -----------
Alias /pma "/var/www/phpMyAdmin"
<directory /var/www/phpMyAdmin> Order allow,deny Allow from all Options all Options +includes </directory> ---------------- end snip -------------