Link to home
Start Free TrialLog in
Avatar of hreyestech
hreyestech

asked on

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?
Avatar of Arty K
Arty K
Flag of Kazakhstan image

> 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

ASKER CERTIFIED SOLUTION
Avatar of BarsMonster
BarsMonster
Flag of Belarus image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The error_log should tell you if this is a configuration or a file permission issue.
Avatar of hreyestech
hreyestech

ASKER

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