403 error on Apache Server Suse 11.0 and PHP

Posted on 2009-02-17
Last Modified: 2012-05-06
I am running PHP 5.x that is running successfully. However, when I create another directory i get the message stated below.
Access forbidden!
You don't have permission to access the requested object. It is either read-protected or not readable by the server.

If you think this is a server error, please contact the webmaster.

Error 403
Tue Feb 17 14:51:50 2009
Apache/2.2.8 (Linux/SUSE)

I have allowed directoy access to httpd.conf file without success.. Does members Expert Exchange have any suggestions?
Question by:hreyestech
    LVL 27

    Expert Comment

    > You don't have permission to access the requested object. It is either read-protected or not readable by the server.

    1) Check that Unix rights are OK:
    ls -ald /path/to/directory
    it should have 'r' and 'x' permissions for everyone

    2) Check that you have enabled 'auto-indexing':
    create a file: /path/to/directory/.htaccess :
    Options +Indexes

    LVL 5

    Accepted Solution

    chmod 777 name_of_your directory
    If it does not work, you need to chown this directory to the user running apache.

    Then you need to read about UNIX permissions.
    LVL 27

    Expert Comment

    The error_log should tell you if this is a configuration or a file permission issue.

    Author Closing Comment

    Thank you. Changing permissions on the directory allowed me to see the index.html file. I can browse the site now.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    If you are running a LAMP infrastructure, this little code snippet is very helpful if you are serving lots of HTML, JavaScript and CSS-related information. The mod_deflate module, which is part of the Apache 2.2 application, provides the DEFLATE…
    Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    Internet Business Fax to Email Made Easy - With eFax Corporate (, you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now