• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

You don't have permission to access /phpmyadmin on this server.

SeaHag

Active Member


Messages: 119

#1
/usr/local/etc/apache22/httpd.conf:

Code:
Alias /phpmyadmin /usr/local/www/phpMyAdmin

<Directory "/usr/local/www/phpmyadmin">
    Order allow,deny
    Allow from all   
</Directory>
/usr/local/www/phpMyAdmin/config.inc.php:
Code:
$cfg['Servers'][$i]['user']     = 'root';
$cfg['Servers'][$i]['password'] = 'my_password_here';
$cfg['blowfish_secret'] = 'sdf934sdfgHijh98Y';
When I try to access http://localhost/phpmyadmin or http://127.0.0.1/phpmyadmin I get the following error:

Code:
Forbidden

You don't have permission to access /phpmyadmin on this server.

What can I check to get this working?
 

SeaHag

Active Member


Messages: 119

#2
got it, case

Fixed it. It was my case. The following line in httpd.conf:
Code:
<Directory "/usr/local/www/phpmyadmin">
should be:
Code:
<Directory "/usr/local/www/phpMyAdmin">