logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 


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

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.




Cannot load modules/mod_security2.so
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Apache Forum Index -> Apache third-party Modules



View previous topic :: View next topic  
Author Message
JackieChan5588



Joined: 14 May 2018
Posts: 5

PostPosted: Tue 15 May '18 20:38    Post subject: follow-up on mod_security2 not loading Reply with quote

I had VC15 x64 installed but mod_security2 still produced load error. I installed VC17 x64 which then
de-installed VC15 automatically. Same error with VC17 x64.
One of the following required dependencies for x64
must still be missing:
yajl.dll
WS2_32.dll
VCRUNTIME140.dll
pcre.dll
libxml2.dll
libhttpd.dll
libcurl.dll
libapr-util.dll
libapr-1.dll
KERNEL32.dll
IPHLPAPI.DLL
api-ms-win-crt-utility-l1-1-0.dll
api-ms-win-crt-time-l1-1-0.dll
api-ms-win-crt-string-l1-1-0.dll
api-ms-win-crt-stdio-l1-1-0.dll
api-ms-win-crt-runtime-l1-1-0.dll
api-ms-win-crt-math-l1-1-0.dll
api-ms-win-crt-locale-l1-1-0.dll
api-ms-win-crt-heap-l1-1-0.dll
api-ms-win-crt-filesystem-l1-1-0.dll
api-ms-win-crt-environment-l1-1-0.dll
api-ms-win-crt-convert-l1-1-0.dll
Back to top
Steffen
Moderator


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

PostPosted: Wed 16 May '18 10:50    Post subject: Reply with quote

Still no idea what is happening in your config.

You wrote: I installed VC17 x64...

You mean C++ Redistributable Visual Studio 2017 ?

You wrote: I have your libcurl.dll and yajl.dll in both
\bin and \modules.


Remove any .dll in \modules.

Check the dates

19-07-17 16:27 mod_security.dll
25-04-17 11:34 libcurl.dll
25-04-17 11:40 yajl.dll

Post you http.cof at https://apaste.info/
Back to top
JackieChan5588



Joined: 14 May 2018
Posts: 5

PostPosted: Fri 18 May '18 19:56    Post subject: Reply with quote

Problem resolved.
Wrong version of libxml2.dll was in \Apache24\bin folder.
I am not even clear now where I found the wrong one or where
the correct libxml2.dll is located for your latest 2.4.33 build.
Besides this resolution, I think the conf\mod_security.conf
file supplied from your download page failed to "include"
because the required "id:<nnnnn>"
was missing from the "phase 2" prefix for the SecRule.
Thanks.
Kindest Regards.
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache third-party Modules Goto page Previous  1, 2
Page 2 of 2