Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2004
    Posts
    600

    WHM/CPanel: Limit connections by IP address

    I host some media sites, and the users there love to use download accelerators which open like 20 connections for same file. I want to limit each IP address to 2 connections max, how would I do that?
    Dating Revolution Method - Book on how to meet and attract women

  2. #2
    Like us on Facebook to qualify for discounts!
    http://www.sprintserve.net
    Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting |
    Services: | Managed Multiple Cores 64bit Servers | Server Management |

  3. #3
    Join Date
    Feb 2004
    Posts
    600
    tried installing it, but dunno which directives and where to put them in httpd.conf?

    do i have to add it to every virtualhost section?
    Dating Revolution Method - Book on how to meet and attract women

  4. #4
    No you just need to add something like:

    <IfModule mod_throttle.c>
    ThrottlePolicy none

    <Location /throttle-status>
    SetHandler throttle-status
    </Location>

    <Location /throttle-me>
    SetHandler throttle-me
    </Location>

    <Location /~*/throttle-me>
    SetHandler throttle-me
    </Location>
    </IfModule>

    Once anywhere in the httpd.conf, and restart Apache.
    Like us on Facebook to qualify for discounts!
    http://www.sprintserve.net
    Offering: | Internap FCP Bandwidth! | Rebootless Kernel Updates! | Magento Optimized Hosting | Wordpress Hosting |
    Services: | Managed Multiple Cores 64bit Servers | Server Management |

  5. #5
    Join Date
    Feb 2004
    Posts
    600
    ok, i did that... where do i configure # of connections per IP?
    Dating Revolution Method - Book on how to meet and attract women

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •