Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Building httpd 2.4 with mod_evasive failing |
|
Author |
|
Ali
Joined: 25 Jul 2016 Posts: 2 Location: France
|
Posted: Tue 26 Jul '16 15:49 Post subject: Building httpd 2.4 with mod_evasive failing |
|
|
Hello,
We are using apache as a reverse proxy. For security we are building it from source and enabling only the modules that we need. Shared object are disabled, we disable mod_so during the configure stage.
I need to add mod_evasive to our reverse proxy but i am getting an error that Makefile.in doesn't exist. since shared objects are disabled i cannot use the apsx tools supplied with apache code.
mod_evasive source is downloaded from:
https://github.com/shivaas/mod_evasive
the code that i use to enable mod_evasive:
Code: | --with-module=mod_evasive-master:evasive24.c |
a part of the errors i am getting
Code: | make[3]: *** No rule to make target `mod_mod_evasive24.c.lo', needed by `libmod_mod_evasive24.c.la'. Stop.
make[3]: Leaving directory `/usr/local/reverseproxy/httpd-2.4.23/modules/mod_evasive-master'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/reverseproxy/httpd-2.4.23/modules/mod_evasive-master'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/reverseproxy/httpd-2.4.23/modules'
make: *** [all-recursive] Error 1 |
I searched the net but i didn't find any article about compiling httpd with mod_evasive, it's always enabled as shared object.
Did anybody build apache with mod_evasive before? any idea or advice how to install mod_evasive without enabling mod_so?
Thank you in advance for your help.
KR,
ALi |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 01 Aug '16 16:31 Post subject: |
|
|
hi Ali,
in the readme file it says that you compile apache the normal way without mod_evasive and than use
Code: |
$APACHE_ROOT/bin/apxs -i -a -c mod_evasive24.c
|
|
|
Back to top |
|
Ali
Joined: 25 Jul 2016 Posts: 2 Location: France
|
Posted: Tue 09 Aug '16 16:04 Post subject: |
|
|
Thank you for your reply James, my problem is that we disable mod_so and shared object at the build. So i can't use the apxs tool. as i saw on the internet everybody compile mod_evasive using apxs, i think we have to enable the mod_so after all. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
|
Back to top |
|
|
|
|
|
|