title: PhpMyAdmin error: 403 forbidden
body: <p>I had phpmyadmin installed but when i was on the site : ip/phpmyadmin i tried to logon, but i couldent, it would not redirect me so I removed it and reinstalled.</p>
  
  <p>From then on I cant even connected to the site. In the /etc/httpd/phpMyAdmin.conf file I have added my ips four times like so...</p>
  
  <pre><code># phpMyAdmin - Web based MySQL browser written in php
  # 
  # Allows only localhost by default
  #
  # But allowing phpMyAdmin to anyone other than localhost should be considered
  # dangerous unless properly secured by SSL
  
  Alias /phpMyAdmin /usr/share/phpMyAdmin
  Alias /phpmyadmin /usr/share/phpMyAdmin
  
  &lt;Directory /usr/share/phpMyAdmin/&gt;
     AddDefaultCharset UTF-8
  
     &lt;IfModule mod_authz_core.c&gt;
       # Apache 2.4
       &lt;RequireAny&gt;
         Require ip 127.0.0.1
         Require ip ::1
       &lt;/RequireAny&gt;
     &lt;/IfModule&gt;
     &lt;IfModule !mod_authz_core.c&gt;
       # Apache 2.2
       Order Deny,Allow
       Deny from All
       Allow from 127.0.0.1
       Allow from ::1
     &lt;/IfModule&gt;
  &lt;/Directory&gt;
  
  &lt;Directory /usr/share/phpMyAdmin/setup/&gt;
     &lt;IfModule mod_authz_core.c&gt;
       # Apache 2.4
       &lt;RequireAny&gt;
         Require ip 127.0.0.1
         Require ip ::1
       &lt;/RequireAny&gt;
     &lt;/IfModule&gt;
     &lt;IfModule !mod_authz_core.c&gt;
       # Apache 2.2
       Order Deny,Allow
       Deny from All
        Allow from 127.0.0.1
       Allow from ::1
      &lt;/IfModule&gt;
  &lt;/Directory&gt;
  
  # These directories do not require access over HTTP - taken from the original
  # phpMyAdmin upstream tarball
  #
  &lt;Directory /usr/share/phpMyAdmin/libraries/&gt;
      Order Deny,Allow
      Deny from All
      Allow from None
  &lt;/Directory&gt;
  
  &lt;Directory /usr/share/phpMyAdmin/setup/lib/&gt;
      Order Deny,Allow
      Deny from All
      Allow from None
  &lt;/Directory&gt;
  
  &lt;Directory /usr/share/phpMyAdmin/setup/frames/&gt;
      Order Deny,Allow
      Deny from All
      Allow from None
  &lt;/Directory&gt;
  
  # This configuration prevents mod_security at phpMyAdmin directories from
  # filtering SQL etc.  This may break your mod_security implementation.
  #
  #&lt;IfModule mod_security.c&gt;
  #    &lt;Directory /usr/share/phpMyAdmin/&gt;
  #        SecRuleInheritance Off
  #    &lt;/Directory&gt;
  #&lt;/IfModule&gt;
  </code></pre>
  
  <p>When I restart apache, # service httpd restart, and then go onto the site it still says </p>
  
  <p>Forbidden</p>
  
  <p>You don't have permission to access /phpMyAdmin/ on this server.</p>
  
  <p>Apache/2.2.15 (CentOS) Server at 6gem.pw Port 80</p>
  
  <p>I cant find any fixes, please help.</p>