Lighttpd 403 forbidden errors

http-status-code-403lighttpd

I'm in the process of replacing Apache with Lighty and I'm having some trouble.

The index of the page loads fine, but whenever I try to go into a subdirectory I will get a 403 forbidden error. It does not matter which directory.

I have tried setting the directories to 777 and I still got errors. I'm sure that the user that it is running under has access to the directory.

What should I do?

Best Answer

Are you saying that lighttpd doesn't serve the directory listing, and gives out a 403 error instead? If that's the case, you have to add the following line to your config:

dir-listing.activate = "enable"