setting up mod_evasive with easyapache4 on cloudlinux 7
Hi,
want to setup mod_evasive with easyapache4 on my cloudlinux 7 OS server,
Tried to do EasyApache4 but was unable to find mod_evasive in the module list.
Please can someone guide to do the same.
Thanks
-
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 -
Hello, It's not a supported module, however the workaround instructions on the previous post should help. Thank you. 0 -
@cPanelMichael Does cpanel has any plans to support this module for EA4 in future. 0 -
@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 -
@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_httpd0 -
@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.
Comments
6 comments