blocking request on the HOST value

From: MAZIERE Kévin - AMEN <kevin.maziere#amen.fr>
Date: Wed, 20 Aug 2008 12:54:25 +0200


Hi,

I try to block access to apache server using haproxy for some http request containing the same HOST value
I'm not familiar with acl and reqideny and other parameters, even after some tests and spending some time on the documentation...

For example the request is like : wget http://foo.bar.com/ and I want to block this request because it contains the words foo.bar.com

I try to use reqideny command like : reqideny ^HOST:\foo\.bar\.com.*$,
but I'm sur that I do not understand the way reqideny works, because my rules doesn't work.

Could someone help me to block a request which contain a certain host ?

Kévin Received on 2008/08/20 12:54

This archive was generated by hypermail 2.2.0 : 2008/08/20 13:00 CEST