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 am running a stock lighttpd installation with no configuration changes. Client sees a 403 forbidden error trying to access static images (even from an img tag on a static page). Nothing in the logs about this. Research has turned up a number of 403 solutions regarding lighttpd but all the info I found is about listing user dirs or unable to access server at all, which is not the issue I am experiencing. I can't find anything in config files that would disable image access. Is there something in the stock config that would do this? What relevant configs should I check/post?

share|improve this question
up vote 1 down vote accepted

With some insight from Lighttpd fails with 403 - Forbidden with SELinux enabled I checked sebools.

getsebool -a

to list all sebools. In my case I noticed that httpd_read_user_content was off. Enabling this

setsebool httpd_read_user_content 1

solved the 403 issue.

share|improve this answer

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.