Craig, 

Thanks for the response, will the EPEL repository contain the Nginx module ready? Everything I've read, it basically states that you have to download and build mod security with the stand alone option before it can be compiled into Nginx.  I'm able to compile mod security, but can't get the Nginx compilation to complete with the mod security library module (per the errors I'm getting).

We're using 5.9 as that's our current production environment configuration and there are no plans in the near future to change that.

I'm trying to build and compile Nginx on a clean VM copy of 5.9 to test before attempting to deploy to production.

Do you have any other suggestions (I'll check out the EPEL repo in a bit).

Thanks


On Wed, Nov 6, 2013 at 9:40 AM, Craig Lawson <craig.lawson@secarma.co.uk> wrote:

Any particular reason for using CentOS 5.9?

 

Mod_security 2.6.8 is available to install via yum from the EPEL repository if using Centos 5.

 

C

 

From: Ilan Berkner [mailto:iberkner@gmail.com]
Sent: 06 November 2013 13:43
To: mod-security-users@lists.sourceforge.net
Subject: [mod-security-users] Getting this error when running "make" on CentOS 5.9 for Nginx

 

APR library version 1.2.7 and HTTPD library version is 2.2.3.

 

Any suggestions? thanks

 

 

        -lpthread -lcrypt ../mod_security/nginx/modsecurity/../../standalone/.libs/standalone.a -L/usr/local/apr/lib -lapr-1 -L/usr/local/apr/lib -laprutil-1 -lpcre -lxml2 -lz -lm -ldl -lpcre -lcrypto -lcrypto -lz

../mod_security/nginx/modsecurity/../../standalone/.libs/standalone.a(standalone_la-mod_security2.o): In function `hook_post_config':

/home/vagrant/mod_security/standalone/../apache2/mod_security2.c:641: undefined reference to `ap_get_server_version'

../mod_security/nginx/modsecurity/../../standalone/.libs/standalone.a(standalone_la-mod_security2.o): In function `change_server_signature':

/home/vagrant/mod_security/standalone/../apache2/mod_security2.c:542: undefined reference to `ap_get_server_version'

/home/vagrant/mod_security/standalone/../apache2/mod_security2.c:563: undefined reference to `ap_get_server_version'

../mod_security/nginx/modsecurity/../../standalone/.libs/standalone.a(standalone_la-msc_crypt.o): In function `inject_hashed_response_body':

/home/vagrant/mod_security/standalone/../apache2/msc_crypt.c:1079: undefined reference to `xmlOutputBufferGetSize'

/home/vagrant/mod_security/standalone/../apache2/msc_crypt.c:1110: undefined reference to `xmlOutputBufferGetSize'

/home/vagrant/mod_security/standalone/../apache2/msc_crypt.c:1122: undefined reference to `xmlOutputBufferGetSize'

/home/vagrant/mod_security/standalone/../apache2/msc_crypt.c:1132: undefined reference to `xmlOutputBufferGetContent'

/home/vagrant/mod_security/standalone/../apache2/msc_crypt.c:1135: undefined reference to `xmlOutputBufferGetSize'

/home/vagrant/mod_security/standalone/../apache2/msc_crypt.c:1081: undefined reference to `xmlOutputBufferGetSize'

/home/vagrant/mod_security/standalone/../apache2/msc_crypt.c:1093: undefined reference to `xmlOutputBufferGetSize'

/home/vagrant/mod_security/standalone/../apache2/msc_crypt.c:1103: undefined reference to `xmlOutputBufferGetContent'

/home/vagrant/mod_security/standalone/../apache2/msc_crypt.c:1106: undefined reference to `xmlOutputBufferGetSize'

 




NOTICE AND DISCLAIMER
This e-mail (including any attachments) is intended for the above-named person(s). If you are not the intended recipient, notify the sender immediately, delete this email from your system and do not disclose or use for any purpose. We may monitor all incoming and outgoing emails in line with current legislation. We have taken steps to ensure that this email and attachments are free from any virus, but it remains your responsibility to ensure that viruses do not adversely affect you

------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
mod-security-users mailing list
mod-security-users@lists.sourceforge.net
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/




--

Ilan Berkner
Chief Technology Officer
Time4Learning.com

6300 NE 1st Ave., Suite 203
Ft. Lauderdale, FL 33334
(954) 771-0914

  

Time4Learning.com - Online interactive curriculum for home use, PreK-8th Grade.
Time4Writing.com - Online writing tutorials for high, middle, and elementary school students.
Time4Learning.net - A forum to chat with parents online about kids, education, parenting and more.
spellingcity.com - Online vocabulary and spelling activities for teachers, parents and students.