FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 06-18-2008, 09:08 PM
"Mike Hanby"
 
Default Forbidden: You don't have permission to access/phpMyAdmin/ on this server.

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@centos.org [mailto:centos-bounces@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@yahoo.com>:
>
>
>
> --- 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 -------------
>
> --
> Mark
> http://www.tlviewer.org/centos/ (my repo with rt3 included)
>
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@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@centos.org
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos
 

Thread Tools




All times are GMT. The time now is 03:04 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org