So, I've noticed a strange occurence on my server. Occasionally the client will get a "Forbidden: You don't have permission to access / on this server." error from the server. Recently I installed suphp and switched from prefork to worker MPM. So far so good, except for this strange behavior.
It's fairly easy to reproduce: Simply reload the website 5-6 times. Then you'll start getting the error message, and then just let it be for about 15 seconds and then you can reload the site just fine. Hammer it with 5-6 reloads and again you'll get the Forbidden error. You can try it yourself with my photoblog. Just force-reload it a few times and boom. Then back off about 15 seconds or so and you're good to go again.
I've tried to figure out why this happens but I am now at my wits end. The only useful thing I've managed to google is this page which suggests it's a timeout issue which might seem appropriate. Not sure how to fix that though. Other than that, nothing have helped me much.
When poking through the logs, the error that gets logged is [error] [client IP-ADRESS OF CLIENT] client denied by server configuration: /home/username/sitename/etc/etc/etc
I'm running Ubuntu 12.04, 64-bit. All patched up. Apache 2.22. MPM is Worker and I've installed suphp.
--- SOLVED: It was mod_evasive that triggered this behavior. I discovered I had somehow somewhen installed it and that's the problem. Sorry for the inconvenience, I hope other people who have this problem finds this thread.