How to block specific URL requests via htaccess
from: Apache

Hi,

I have some annoying bandwidth hogger that has compromised a number of computers and sends about 5-10 requests per second to my web server.
There is one way to identify these requests as they always end with the url /error like in:

/en/error
/de/error
/de/schulung/error

I have checked online and found various scenarios but I am unable to find a working RewriteCond that would match and send traffic back to caller.
Can someone help out on this? I need a match to any request where the url ends in /error

"GET /de/schulung/grundlagen/error HTTP/1.1"

Thanks a million


Poster :
wildgras