Portal Home > Knowledgebase > Articles Database > remove a single file from mod_evasive rules
Posted by pashford, 10-01-2012, 05:08 PM Hi all, I am beta-testing a custom social networking site with mod_evasive and apache. The front end of my site is done entirely in flash and the backend runs on php. The problem is that the way I designed the flash code to load the user's friends' info into the site. Specifically, each friend's data is loaded into a small flash movie which has identifying parameters passed to it upon load. This means that the same file is loaded over and over again...once for each friend in the user's list of friends. So, if the user has 50 friends, then the same file is requested 50 times. Obviously, mod_evasive does not like this behaviour one bit as it looks like a DDoS attack. Is there a way to whitelist requests for a certain file in the mod_evasive conf file? Any suggestions much appreciated.
Posted by BestServerSupport, 10-03-2012, 10:28 AM I doubt if it is possible to whitelist a certain file in mod_evasive rules. However, if you are using apache 2.0.x you need to trigger following parameter in the LoadModule section of httpd.conf: DOSHashTableSize DOSPageCount DOSSiteCount DOSPageInterval DOSSiteInterval DOSBlockingPeriod DOSBlockingPeriod
Add to Favourites Print this Article