logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Using Apache 2.2 and limit the amount of web requests to apa
Author
oziworld



Joined: 06 Aug 2006
Posts: 7

PostPosted: Thu 28 Dec '06 10:23    Post subject: Using Apache 2.2 and limit the amount of web requests to apa Reply with quote

I have the following code as below:

"ProxyPass /CUST-WAV/ http://192.168.2.4:8080/CUST-WAV/
ProxyPassReverse /CUST-WAV/ http://192.168.2.4:8080/CUST-WAV/"

When my customers type in my domain name with /CUST-WAV/

ie http://www.MYDOMAIN.com/CUST-WAV/ it gos to my web server ie 192.168.2.4:8080.


Now I have some hackers who are pounding my web server and calling

either

http://www.MYDOMAIN.com/CUST-WAV/xyz.jsp
http://www.MYDOMAIN.com/CUST-WAV/yax.html


This is crashing my webserver.

I want to know how I can limit the amount of web requests per minute from IP addresses using apache and not my webserver

Please let me know?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7294
Location: Germany, Next to Hamburg

PostPosted: Thu 28 Dec '06 11:25    Post subject: Reply with quote

You could limit it by IP, if you know the IP's or limit it by domain

Code:

<Limit GET>
  order deny,allow
  deny from all
  allow from 134.100
  allow from domain.tld
  allow from 136.172.180.207
</Limit>


Or you could use a auth.


Why do too many requests kill your server? Maybe it is not reach able or bandwidth to the single clients goes down.
Back to top
oziworld



Joined: 06 Aug 2006
Posts: 7

PostPosted: Thu 28 Dec '06 23:00    Post subject: Reply with quote

Thank you for this answer.

I was wondering can I limit the number of requests per time period from apache to my web server?

ie so that if a hacker that has more than 1 IP address begins hacking us, apache will limit the number of requests per minute?
Back to top


Reply to topic   Topic: Using Apache 2.2 and limit the amount of web requests to apa View previous topic :: View next topic
Post new topic   Forum Index -> Apache