Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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://127.0.0.1/ci/index.php

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 has been asked before and already has an answer. If those answers do not fully address your question, please ask a new 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
add comment

2 Answers

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
add comment

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
</Directory>
share|improve this answer
add comment

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