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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On
Behalf Of Herta Van den Eynde
Sent: Wednesday, June 18, 2008 15:45
To: CentOS mailing list
Subject: Re:  Forbidden: You don't have permission to
access/phpMyAdmin/ on this server.

2008/6/18 Mark Pryor <tlviewer@xxxxxxxxx>:
>
>
>
> --- On Wed, 6/18/08, Herta Van den Eynde <herta.vandeneynde@xxxxxxxxx>
wrote:
>
>> From: Herta Van den Eynde <herta.vandeneynde@xxxxxxxxx>
>> Subject:  Forbidden: You don't have permission to access
/phpMyAdmin/ on this server.
>> To: centos@xxxxxxxxxx
>> 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@xxxxxxxxxx
> 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux