Mod_evasive problem

Discussion in 'Apache' started by Pryda, Jun 22, 2007.

  1. #1
    I cannot get my Mod_evasive to work. Lately it is really necessary, because of attacks on my server.

    I hope someone can tell me what I'm doing wrong. It's probably really easy if you're an expert.
    - /usr/lib/httpd/modules/mod_evasive20.so exists
    - Added to httpd.conf:
    LoadModule evasive20_module   /usr/lib/httpd/modules/mod_evasive20.so
    Code (markup):
    and (below <IfModule mod_disk_cache.c>...</IfModule>)
    
    DOSHashTableSize    3097
    DOSPageCount        5
    DOSSiteCount        50
    DOSPageInterval     3
    DOSSiteInterval     3
    DOSBlockingPeriod 	300
    Code (markup):
    - Phpinfo() shows mod_evasive20 in the loaded modules section

    What am I doing wrong? I have tried the test.pl tool that comes with mod_evasive, but it keeps saying "200 OK".
     
    Pryda, Jun 22, 2007 IP
  2. DeViAnThans3

    DeViAnThans3 Peon

    Messages:
    785
    Likes Received:
    83
    Best Answers:
    0
    Trophy Points:
    0
    #2
    If it says, 200 OK, isn't it working then? I think so. Additionally, it is in the list of phpinfo(), so it actually should be working.
    If you're sure it isn't working, check if test.pl is CHMOD 755.
    ;)
     
    DeViAnThans3, Jun 24, 2007 IP