phpmyadmin forbidden after changing config for my IP

Posted by Jonathan Kushner on Server Fault See other posts from Server Fault or by Jonathan Kushner
Published on 2012-11-26T09:46:57Z Indexed on 2012/11/26 11:08 UTC
Read the original article Hit count: 285

Filed under:
|

I followed the phpmyadmin setup and changed the config to require ip my ipaddress and allow from my ipaddress and its still telling me forbidden You don't have permission to access /phpmyadmin on this server. when I try to access the page on my browser (my server is not located on my machine). I installed everything using root. I also chmod 775 the entire phpMyAdmin folder. Im running RHEL 6.1. Any idea what to do at this point?

Here is my /etc/httpd/conf.d/phpMyAdmin.conf:

<Directory /usr/share/phpMyAdmin/>
   <IfModule mod_authz_core.c>
      # Apache 2.4
     <RequireAny>
      Require ip myserveripaddress
      Require ip ::1
     </RequireAny>
   </IfModule>
    <IfModule !mod_authz_core.c>
     # Apache 2.2
     Order Deny,Allow
     Deny from All
     Allow from myserveripaddress
     Allow from ::1
    </IfModule>
 </Directory>

© Server Fault or respective owner

Related posts about phpmyadmin

Related posts about server-setup