Re: compiling modsecurity module for nginx under aws linux (centos clone)

Eero Volotinen <[email protected]>
Newsgroups gmane.comp.apache.mod-security.user
Message-ID <CABzZrXcguH7LHWKHBQ7_EXyidr+1PPrxcvs3uWUDnR8pyvFrmg@mail.gmail.com>
Looks like problem is with compile parameters. they must match nginx binary?

like this:
https://dzhorov.com/2017/04/compiling-dynamic-modules-into-nginx-centos-7

Eero

On Wed, Nov 7, 2018 at 9:03 AM Ervin Hegedüs <[email protected]> wrote:

> Hi Eero,
>
> On Wed, Nov 07, 2018 at 07:34:51AM +0200, Eero Volotinen wrote:
> > Hi List,
> >
> > Trying to compile modsecurity for nginx, using these instructions:
> >
> >
> https://www.nginx.com/blog/compiling-and-installing-modsecurity-for-open-source-nginx/
> >
> > but module always fails to load:
> > nginx: [emerg] module "/etc/nginx/modules/ngx_http_modsecurity_module.so"
> > is not binary compatible in /etc/nginx/nginx.conf:10
>
> I've followed this documentation:
>
> https://github.com/SpiderLabs/ModSecurity-nginx
>
> and got a working nGinx with ModSecurity.
>
>
> a.
>
>
> _______________________________________________
> mod-security-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mod-security-users
> Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
> http://www.modsecurity.org/projects/commercial/rules/
> http://www.modsecurity.org/projects/commercial/support/
>

_______________________________________________
mod-security-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
http://www.modsecurity.org/projects/commercial/rules/
http://www.modsecurity.org/projects/commercial/support/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.