[CentOS] Forbidden: You don't have permission to access/phpMyAdmin/ on this server.

Wed Jun 18 21:08:33 UTC 2008
Mike Hanby <mhanby at uab.edu>

Maybe this has already been suggested, but is the output identical for
the old and new directories using the following command:

ls -ldZ /var/www/html/{phpMyAdmin,pma}

The Z will show the SELinux security attributes.

-----Original Message-----
From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
Behalf Of Herta Van den Eynde
Sent: Wednesday, June 18, 2008 15:45
To: CentOS mailing list
Subject: Re: [CentOS] Forbidden: You don't have permission to
access/phpMyAdmin/ on this server.

2008/6/18 Mark Pryor <tlviewer at yahoo.com>:
>
>
>
> --- On Wed, 6/18/08, Herta Van den Eynde <herta.vandeneynde at gmail.com>
wrote:
>
>> From: Herta Van den Eynde <herta.vandeneynde at gmail.com>
>> Subject: [CentOS] Forbidden: You don't have permission to access
/phpMyAdmin/ on this server.
>> To: centos at 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 -------------
>
> --
> Mark
> http://www.tlviewer.org/centos/   (my repo with rt3 included)
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
It's one of the things I tried when I still believed I messed up on
the config.  (I didn't have the "Options +includes", but then I had no
includes.)

Kind regards,

Herta


-- 
"Life on Earth may be expensive,
 but it comes with a free ride around the Sun."
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos