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

Eero Volotinen <[email protected]>
Newsgroups gmane.comp.apache.mod-security.user
Message-ID <CABzZrXerFfPJXAWzi6QcGBAonJafyk8b3w9-1-wp1j_2iGcvjQ@mail.gmail.com>
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 am using source packages from aws linux. I mroanaged get module working
with full recompline of nginx package, but not single module. any clues how
to fix this issue.

Someone said that it might be related to compile parameters:
https://www.nginx.com/blog/compiling-and-installing-modsecurity-for-open-source-nginx/,
but how to pick correct ones from large list that nginx -V produces?

Eero

_______________________________________________
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.