The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

mod evasive

Discussion in 'Security' started by postcd, Sep 10, 2014.

  1. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    620
    Likes Received:
    6
    Trophy Points:
    18
    how to check if its installed properly?

    php -i | grep evasive
    resturns nothing

    update: check this "ls /usr/local/apache/modules/"

    i did not found any modevasive in any httpd.conf files

    here is the tutorial on how to install module, but im unsure how to make sure the module is included in httpd.conf permanently

    1. /usr/local/apache/bin/apxs -i -a -c mod_evasive20.c
    2. /usr/local/cpanel/bin/apache_conf_distiller --update

    that correct?
     
    #1 postcd, Sep 10, 2014
    Last edited: Sep 10, 2014
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    620
    Likes Received:
    6
    Trophy Points:
    18
    Thank You i think one part of my questions is solved now (by this post from yours above mentioned topic).

    only this question remains regarding evasive mod:
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  5. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    620
    Likes Received:
    6
    Trophy Points:
    18
    Thank you, there are many modules, but evasive is not there :(
    returns nothing

    LoadModule evasive20_module modules/mod_evasive20.so
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    What method did you use to configure and install this custom module? Did you use the Apache distiller, as referenced in the tutorial you posted? Note you can also use "httpd -M", which lists all modules, both statically and dynamically loaded. You may not see Mod_Evasive listed, depending on how you installed it.

    Thank you.
     
  7. postcd

    postcd Well-Known Member

    Joined:
    Oct 22, 2010
    Messages:
    620
    Likes Received:
    6
    Trophy Points:
    18
    Hello, yes i used distiller command mentioned.
    and "httpd -M | grep eva" returns:
    please any more idea if its installed properly. or what to check?
     
  8. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    This means the module is loaded.

    Thank you.
     
Loading...

Share This Page