LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-15-2010, 09:26 AM   #1
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Fedora, Mint, FreeBSD, Android
Posts: 346

Rep: Reputation: 31
phpMyAdmin error: client denied by server configuration: /usr/share/phpMyAdmin


Hi all,

I am trying to install phpMyAdmin on my Fedora 12 desktop following the instructions given in this HowTo: Installing Apache2 With PHP5 And MySQL Support On Fedora 12 (LAMP)

I've installed phpMyAdmin using yum. I've made no changes to /etc/httpd/conf.d/phpMyAdmin.conf since I will only be logging in locally.

According to the HowTo, I should now be able to open phpMyAdmin, like this http://192.168.2.2/phpmyadmin, but I get a 403 error from Apache. I see this line in the Apache error file:
Code:
Sat May 15 16:02:34 2010] [error] [client 192.168.2.2] client denied by server configuration: /usr/share/phpMyAdmin
Something must be missing here. Any ideas?
Thanks.
 
Old 05-15-2010, 12:31 PM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,925

Rep: Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327Reputation: 1327
Hi,

First make sure it's not SELinux the culprit.
And then edit /etc/httpd/conf.d/phpMyAdmin.conf and use:
Code:
<Directory /usr/share/phpMyAdmin/>
   order deny,allow
   deny from all
   allow from 192.168.2.0/24
</Directory>
Regards
 
Old 05-15-2010, 12:55 PM   #3
Kropotkin
Member
 
Registered: Oct 2004
Location: /usr/home
Distribution: Fedora, Mint, FreeBSD, Android
Posts: 346

Original Poster
Rep: Reputation: 31
Fixed, thanks.

Not sure why the line
Code:
allow from 127.0.0.1
wasn't sufficient; I am trying to log in phpmyadmin on my own desktop here.
 
  


Reply

Tags
apache, phpmyadmin


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
phpmyadmin server error #2002 dfw123 Linux - Newbie 9 04-27-2007 02:31 AM
phpMyAdmin - Access denied!! jackster Linux - Software 5 02-02-2005 04:04 PM
Why does apt-get put phpmyadmin in /usr/share????? datadriven Debian 2 03-07-2004 04:12 PM
WebDAV - 'client denied by server configuration' error jamesrh Linux - Software 1 10-29-2003 12:08 PM
phpmyadmin/access denied xlord Linux - General 3 06-10-2003 05:50 PM


All times are GMT -5. The time now is 11:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration