logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Built Apache 2.4.6 x64 bin / mod_security2.so not loading
Author
fibou



Joined: 03 Nov 2013
Posts: 3
Location: Belgium

PostPosted: Sun 03 Nov '13 22:15    Post subject: Built Apache 2.4.6 x64 bin / mod_security2.so not loading Reply with quote

Hi,

Up until now I was using Apache 2.4.6 x64 binaries and modules (including mod_security) downloaded from this site.

Today I downloaded Apache 2.4.6 source package from ASF and built x64 versions of libapr, libiconv, libaprutil, libhttpd and httpd with Visual Studio 2012 running on Windows 7:

- I did not make any changes to the source files.

- I did not build any of the modules: I'm still using the ones I downloaded from this site.

- I did not make any changes to my httpd.conf file.

Everything's working fine except that mod_security2.so isn't loading anymore, despite it being present in the modules directory (error message: "Cannot load modules/mod_security2.so into server").

All other modules are loading and working fine.

Does anybody know what could be wrong?

Do I have to build mod_security too?
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Sun 03 Nov '13 22:38    Post subject: Reply with quote

mod_security requires the libxml2 dll to be in Apache's bin folder. That's the usual reason it will not load.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3094
Location: Hilversum, NL, EU

PostPosted: Sun 03 Nov '13 22:39    Post subject: Reply with quote

Does your build has libxml2.dll in the /bin folder ?

Steffen

Edit: Gregg we are replying in the same moment.
Back to top
fibou



Joined: 03 Nov 2013
Posts: 3
Location: Belgium

PostPosted: Mon 04 Nov '13 0:08    Post subject: Reply with quote

Thanks for your answers.

Yes libxml2.dll is present in the bin directoty.

I'll keep investigating...
Back to top
fibou



Joined: 03 Nov 2013
Posts: 3
Location: Belgium

PostPosted: Sat 09 Nov '13 22:30    Post subject: SOLVED !!!!!!!!!!!!!!! Reply with quote

pcre3.dll was the guilty.

For some unknown reason my build was relying on pcre3.dll.

I reverted back to pcre.dll (the one shipped with Stephen's Apache build)

And mod_security now loads fine Laughing
Back to top


Reply to topic   Topic: Built Apache 2.4.6 x64 bin / mod_security2.so not loading View previous topic :: View next topic
Post new topic   Forum Index -> Apache