Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 am trying to configure apache server on openSUSE 12.2. I am doing as shown in the manual here it works fine. When I try to access localhost/~myuser/website/html/index.html I am getting this 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

Any ideas how to fix this ?

share|improve this question
Apache needs to be able to access the files it serves. This is a common mistake made when doing the setup in root. – Mikhail Nov 4 '12 at 15:09
up vote 1 down vote accepted

Change the owner of the files and folders to the owner of Apache. It should get resolved. Command will be like:

sudo chown apache-user:apache-group ~myuser/website/html/ -R

Also change the permission of the folder to 755

sudo chmod 755 ~myuser/website/html/ -R
share|improve this answer
On my latest install of OpenSUSE 12.3 the default user:group were wwwrun:www making the command: sudo chown wwwrun:www /srv/www/htdocs -R – Alan B. Dee Jun 12 '13 at 18:47
Here is the reference from Mediawiki manual… – escalator May 15 '15 at 10:46

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.