Board index   FAQ   Search  
Register  Login
Board index php forum :: Database phpMyAdmin

misleading AH01630: client denied by server configuration: /

How to use phpmyadmin.... phpmyadmin related arguments. Even phpMyAdmin issues

Moderators: macek, egami, gesf

misleading AH01630: client denied by server configuration: /

Postby stilllearner » Sat Apr 27, 2013 10:09 am

Hi,

I could run phpinfo but could not run phpmyadmin. seems that apache is not able to parse

http://localhost/phpmyadmin/

the page is displayed as

Code: Select all

Index of /phpmyadmin

    Parent Directory
    .config.inc.php.swp
    1.png
    2.png
    2leftarrow.png
    2leftarrow_m.png
    2rightarrow.png
    2rightarrow_m.png
    3.png


this is my error log

Code: Select all
[Sun Apr 28 01:21:50.794300 2013] [mpm_event:notice] [pid 9750:tid 140737347208960] AH00491: caught SIGTERM, shutting down
[Sun Apr 28 01:21:52.481905 2013] [mpm_event:notice] [pid 9898:tid 140737347208960] AH00489: Apache/2.4.4 (Unix) PHP/5.4.14 configured -- resuming normal operations
[Sun Apr 28 01:21:52.482031 2013] [core:notice] [pid 9898:tid 140737347208960] AH00094: Command line: '/usr/local/apache2/bin/httpd'
[Sun Apr 28 01:21:57.324701 2013] [authz_core:error] [pid 9901:tid 140737168828160] [client 127.0.0.1:41469] AH01630: client denied by server configuration: /usr/local/apache2/htdocs/phpmyadmin/.htaccess
[Sun Apr 28 01:21:57.477350 2013] [authz_core:error] [pid 9901:tid 140737085699840] [client 127.0.0.1:41469] AH01630: client denied by server configuration: /usr/local/apache2/htdocs/phpmyadmin/.htaccess
[Sun Apr 28 01:21:57.634633 2013] [authz_core:error] [pid 9901:tid 140737075209984] [client 127.0.0.1:41469] AH01630: client denied by server configuration: /usr/local/apache2/htdocs/phpmyadmin/.htaccess
[Sun Apr 28 01:21:57.813419 2013] [authz_core:error] [pid 9901:tid 140737064720128] [client 127.0.0.1:41469] AH01630: client denied by server configuration: /usr/local/apache2/htdocs/phpmyadmin/.htaccess
[Sun Apr 28 01:21:57.921263 2013] [authz_core:error] [pid 9901:tid 140737054230272] [client 127.0.0.1:41469] AH01630: client denied by server configuration: /usr/local/apache2/htdocs/phpmyadmin/.htaccess
[Sun Apr 28 01:30:30.373663 2013] [authz_core:error] [pid 9901:tid 140737043740416] [client 127.0.0.1:42318] AH01630: client denied by server configuration: /usr/local/apache2/htdocs/phpmyadmin/.htaccess
[Sun Apr 28 01:35:07.567305 2013] [mpm_event:notice] [pid 9898:tid 140737347208960] AH00491: caught SIGTERM, shutting down




if you google around you will find solutions suggesting adding a new diretory block

so here's what my /usr/local/apache2/conf/httpd.conf will look like

Code: Select all
<Directory "/usr/local/apache2/htdocs/phpmyadmin">
 Order allow,deny
  Allow from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>



here's my/usr/local/apache2/htdocs/phpmyadmin/config.inc.php


Code: Select all
$i = 0;

/*
 * First server
 */
$i++;
/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
/* Server parameters */
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
/* Select mysql if your server does not have mysqli */
$cfg['Servers'][$i]['extension'] = 'mysqli';
$cfg['Servers'][$i]['AllowNoPassword'] = false;

/*
 * phpMyAdmin configuration storage settings.
 */

/* User used to manipulate with storage */
// $cfg['Servers'][$i]['controlhost'] = '';
$cfg['Servers'][$i]['controluser'] = 'root';
$cfg['Servers'][$i]['controlpass'] = 'c3nt05m45t3r';




I'm using

Code: Select all
[root@localhost ~]# mysql
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 1
Server version: 5.5.31 MySQL Community Server (GPL)

Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>



from phpinfo(), I'm using
Code: Select all
Apache Version    Apache/2.4.4 (Unix) PHP/5.4.14


my permission is as follow

Code: Select all
[root@localhost htdocs]# ls -lrth  /usr/local/apache2/htdocs/
total 56K
-rw-r--r--.  1 root  root    45 Jun 12  2007 index.html
-rw-r--r--.  1 root  root    20 Apr 27 00:15 testphp.php
-rw-r--r--.  1 root  root   283 Apr 28 00:26 config.inc.php
-rw-r--r--.  1 root  root    48 Apr 28 01:30 C:\nppdf32Log\debuglog.txt
drwxr-xr-x. 83 phpmy daemon 36K Apr 28 02:11 phpmyadmin


any assistance rendered is really appreciated!

thanks a lot!
stilllearner
New php-forum User
New php-forum User
 
Posts: 1
Joined: Sat Apr 27, 2013 9:58 am

Return to phpMyAdmin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.