We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

403 error on Apache Server Suse 11.0 and PHP

Medium Priority
1,019 Views
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
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?
Comment
Watch Question

Artysystem administrator
Top Expert 2007

Commented:
> 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

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.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Top Expert 2008

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

Author

Commented:
Thank you. Changing permissions on the directory allowed me to see the index.html file. I can browse the site now.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.