Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6627001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T21:57:40+00:00 2026-05-25T21:57:40+00:00

I want to throttle requests to my web server so as to thwart web

  • 0

I want to throttle requests to my web server so as to thwart web scraping and denial of service attacks against my site. I’m willing to be relatively lax, the key thing is that no one requests so much so as to slow things down.

I was thinking of setting up throttling by IP address, so that requests from a given IP would be slowed if too many requests were made in a short period of time.

Some questions I have–

  • Is this the right way to go about dealing with web scrapers and DoS attacks at the web server level?
  • What’s a good limit so that I don’t inconvenience regular users who may be working on shared IP networks?
  • How specifically should I setup the throttling? I’m using Apache/2.2
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T21:57:40+00:00Added an answer on May 25, 2026 at 9:57 pm

    “Is this the right way … at the web server level?” It’s probably the best option you have. It might be good to have different thresholds on different parts of your site: you may be more willing to throttle certain kinds of traffic than others. But ideally these kinds of settings would be managed at the network level.

    “What’s a good limit … ?” It completely depends on your traffic. How much you expect, where your real users come from, etc.

    How to do it? It is possible to write rules to handle this sort of thing in ModSecurity, which also defends against some other stuff. As with the mod_evasive answer, this won’t fully protect you against attackers with a lot of resources at their disposal, but it would force them to step up their game.

    I don’t think there’s anything “built into” Apache httpd that will facilitate this. The expectation would be that issues with an abusive IP address (i.e., network traffic issues) are managed at the network level.

    EDIT:

    Since you comment elsewhere that you are using Rackspace for hosting, you might want to check out their load balancer API.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am debugging an ASMX web service that receives bursts of requests. i.e., it
want to rewrite urls like site.com/software to wp-content/themes/dir/software.php and something is not working.. Here's
I want to effectively throttle an event stream, so that my delegate is called
In the SQL Server Full-Text Indexing scheme i want to know if a table
Want to display the splash page for iphone and android web browser. I am
Want to make a confirm box appear before someone leave my site. They have
Want to play a file that on path like this /var/spool/sound/dog.wav present on server.
Want to create web sites with data on Dynamics AX. We want not to
Want to add a nice multiple image upload feature to a site so I
Want to know which CSS styles are currently being used on a web page.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.