Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

I extracted CodeIgnitor to XAMPP's htdocs and when I tried to access index.php like this:

h t t p://

I get the following error message:

Access forbidden! You don't have permission to access the requested object. It is either read-protected or not readable by the server. Error 403......

How can I troubleshoot this problem?

share|improve this question

marked as duplicate by kce, Michael Hampton Jul 6 '13 at 23:57

This question was marked as an exact duplicate of an existing question.

please paste errors from log files – luckytaxi Oct 13 '11 at 15:15
This question appears to be off-topic because it is about a one-click *AMP stack installer which are generally considered developer tools and hence off-topic for serverFault. – kce Jul 6 '13 at 23:12

Check your apache error logs to see what apache is saying. You might need to change to LogLevel error and restart to get enough information.

My guess is that apache runs as www-data (or apache) and you extracted the files as your user with a umask that isn't allowing apache to read it.

chmod o+r ci/

and see if that helps. Check the apache error logs if it doesn't and it should give you an idea of why it is having a problem. Maybe there is a deny block covering that directory for some reason in the configs.

share|improve this answer

You need to set the access right in the apache config file like this:

<Directory "c:/htdocs">
    Options +FollowSymLinks -Indexes +ExecCGI
    AllowOverride All
        Order allow,deny
    Allow from all
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.