How to debug 403 error on Cent OS?

Posted on

How to debug 403 error on Cent OS? – Problems with loading a website are often blamed on the Internet connection, but even the most perfectly set up network cannot help if there is no service to reply at your destination. One of the most popular HTTP servers used for this task is Apache2. Much of Apache’s popularity can be attributed to its easy installation and use, but never the less it is possible to run into problems with even the easiest of the software. If you’ve encountered an issue loading your web page, follow these simple troubleshooting methods outlined in this guide to attempt to get your web server back up and working again. Below are some tips in manage your apache2 server when you find problem about apache-2.2, centos, virtualenv, , .

I’m trying to install phpMyAdmin and I’m getting a 403.


<Directory /usr/share/phpMyAdmin/>
        Order Deny,Allow
        Allow from all


<Directory /usr/share/phpMyAdmin/>
   AddDefaultCharset UTF-8

   <IfModule mod_authz_core.c>
     # Apache 2.4
       Require ip

   <IfModule !mod_authz_core.c>
     # Apache 2.2
      AllowOverride All
     Order Deny,Allow
     Deny from All
     Allow from

This is running on CentOS 6.6 on Apache 2.2

I’ve tried a ton of combinations and none of these files seem to make a difference. I have a feeling there is another file having effect but the logs say nothing about how to find it.

The Apache ErrorLog and AccessLog give nothing of use.

I am running a Django site inside of Virtual Env at the domain root.

Make sure the filesystem permissions on the phpMyAdmin folder and its subfolders/files permit them to be read and directories have the execute (x) permission set on them such that the Apache user can traverse into them.

Leave a Reply

Your email address will not be published. Required fields are marked *