Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have tester.php file which I want to run on the browser and I have created symlink to it in my public_html folder, but still when I try to run it, its not working and gives me 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.

If you think this is a server error, please contact the webmaster.
Error 403
Sun Apr 4 22:41:23 2010

I am not sure as to why am I getting this error message, I have check all file permissions settings and it seems to be fine.

My File permissions settings are:

lrwxrwxrwx  for tester.php

Is there something that should be done other way or is this not the proper approach ?

share|improve this question

migrated from Apr 6 '10 at 1:19

This question came from our site for professional and enthusiast programmers.

The FollowSymlinks option needs to be enabled for that location/directory.

share|improve this answer
How can this be enabled. Actually we just changed our development server and I just did scp to copy all files and folder from one dev server to another dev server. Is there any internal settings which needs to be set for the implementations. Would really appreciate if you can provide some details as am not sure how to activate it. – Rachel Apr 5 '10 at 2:51
rachel it isn't php internal setting but apache's settings, check apache conf. – TheOsp Apr 5 '10 at 3:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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