• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1000
  • Last Modified:

403 error on Apache Server Suse 11.0 and PHP

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
216.139.152.175
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?
0
hreyestech
Asked:
hreyestech
1 Solution
 
NopiusCommented:
> 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

0
 
BarsMonsterCommented:
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.
0
 
caterham_wwwCommented:
The error_log should tell you if this is a configuration or a file permission issue.
0
 
hreyestechAuthor Commented:
Thank you. Changing permissions on the directory allowed me to see the index.html file. I can browse the site now.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now