Skip to main content

setting up mod_evasive with easyapache4 on cloudlinux 7

Comments

6 comments

  • 007basaran
    Hello, Fixed.
    wget 'https://raw.githubusercontent.com/shivaas/mod_evasive/master/mod_evasive24.c' /usr/bin/apxs -i -a -c mod_evasive24.c less /etc/apache2/conf.modules.d/mod_evasive20.conf /scripts/restartsrv_httpd
    Good Work.
    0
  • cPanelMichael
    Hello, It's not a supported module, however the workaround instructions on the previous post should help. Thank you.
    0
  • caisc
    @cPanelMichael Does cpanel has any plans to support this module for EA4 in future.
    0
  • caisc
    @007basaran Got this error on 2nd step - [root@server ~]# /usr/bin/apxs -i -a -c mod_evasive24.c -bash: /usr/bin/apxs: No such file or directory [root@server ~]# How to fix this, also Where do I put this configuration - DOSHashTableSize 3097 DOSPageCount 2 DOSSiteCount 50 DOSPageInterval 1 DOSSiteInterval 1 DOSBlockingPeriod 10 In this file - /etc/apache2/conf.modules.d/mod_evasive20.conf ? Thanks
    0
  • 007basaran
    @caisc Hello,
    wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -ivh epel-release-6-8.noarch.rpm yum install ea-apache24-devel Install apxs and later follow steps. wget 'https://raw.githubusercontent.com/shivaas/mod_evasive/master/mod_evasive24.c' /usr/bin/apxs -i -a -c mod_evasive24.c less /etc/apache2/conf.modules.d/mod_evasive20.conf /scripts/restartsrv_httpd
    0
  • cPanelMichael
    @cPanelMichael Does cpanel has any plans to support this module for EA4 in future.

    There are no plans at this time. I encourage you to open a feature request for that via: Submit A Feature Request Thank you.
    0

Please sign in to leave a comment.