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 using a LAMP configuration. If I access the server at a very fast rate then sometimes I get 403 Forbidden as response. It is random, sometimes I get the response back and sometimes 403. I had in my iptables a rule which would prevent from flooding attack iptables -A INPUT -p tcp --syn -m limit --limit 5/s -i eth0 -j ACCEPT, I have removed this rule but the problem still persists. Looks to me that it is an apache issue. Please point me in the right direction.

share|improve this question
up vote 2 down vote accepted

iptables shouldn't cause a 403 HTTP error response, the connection will either be refused or dropped.

First place to look will be (typically) /var/log/apache2/error.log however this can vary across systems. locate error.log and locate httpd.log might point you in the direction of the logs at least -- do feel free to update the question with more information, but at the moment there isn't enough to go on to diagnose the 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.