mod_evasive, apxs:Error: Activation failed for custom /etc/apache2/httpd.conf - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Development Area (/forum-1.html) +--- Forum: Small Talk (/forum-20.html) +--- Thread: mod_evasive, apxs:Error: Activation failed for custom /etc/apache2/httpd.conf (/thread-2558.html) |
mod_evasive, apxs:Error: Activation failed for custom /etc/apache2/httpd.conf - prale - 02-25-2008 06:46 AM Hello I have a problem with installing mod_evasive. I followed the documentation of "Prevent DOS-Attacks". At the last step it goes wrong: # apxs2 -i -a -c mod_evasive20.c Code: /usr/share/apr-1.0/build/libtool --silent --mode=compile --tag=disable-static i4 86-linux-gnu-gcc -prefer-pic -DLINUX=2 -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -D_RE ENTRANT -I/usr/include/apr-1.0 -I/usr/include/openssl -I/usr/include/postgresql -I/usr/include/xmltok -pthread -I/usr/include/apache2 -I/usr/include/apr-1. 0 -I/usr/include/apr-1.0 -I/usr/include/postgresql -c -o mod_evasive20.lo mod _evasive20.c && touch mod_evasive20.slo The httpd.conf file seems to be empty now Any one has suggestions? RE: mod_evasive, apxs:Error: Activation failed for custom /etc/apache2/httpd.conf - AlexS - 02-26-2008 06:21 PM Hi, just add the following line: Code: LoadModule evasive20_module /usr/lib/apache2/modules/mod_evasive20.so in /etc/apache2/mods-available/actions.load then restart apache2 and mod_evasive will work greetz AlexS RE: mod_evasive, apxs:Error: Activation failed for custom /etc/apache2/httpd.conf - prale - 02-27-2008 04:20 AM Thank you! After I refresh my page more than 1time a sec it gives me a 403 forbidden! error. So I guess it works. RE: mod_evasive, apxs:Error: Activation failed for custom /etc/apache2/httpd.conf - prale - 03-31-2008 06:25 AM I discovered a better solution for this. Just add this to /etc/apache2/httdp.conf #LoadModule directive to aid module installations #LoadModule dummy_module /usr/lib/apache2/modules/mod_dummy.so Then it wil be installed fine into httpd.conf. RE: mod_evasive, apxs:Error: Activation failed for custom /etc/apache2/httpd.conf - Quemeros - 05-08-2008 12:36 PM But i think that there a reason by the ispCP that httpd.conf it's empty, or not? |