Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
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.
| |
|
Topic: Apache, WinXP, mod_security2 - not working |
|
Author |
|
Envomni
Joined: 22 Feb 2009 Posts: 4
|
Posted: Sun 22 Feb '09 9:14 Post subject: Apache, WinXP, mod_security2 - not working |
|
|
Hi,
I have spent the last 2 days on this one specific problem, and gotten no where. I've searched google, read and re-read the Readme file in the download file, and searched this site's forum.
I cannot get a successful load of mod_security2.so in my WinXP / Apache 2.2.9 system. (Yes, I know 11 is now out).
I've installed VC 2008. Rebooted.
Placed libxml2.dll in apache/bin
Placed mod_security2.so in apache/modules
Updated http.conf to load these as follows...
LoadFile bin/libxml2.dll
LoadModule unique_id_module modules/mod_unique_id.so
LoadModule security2_module modules/mod_security2.so
Apache then will not start. It says in my Windows Application Event log that it cannot find the module libxml2.dll (even though the path is correct).
The install document of the mod_security2 download from this site says
Windows (MS VC++
1.Edit Makefile.win to configure the Apache base and library paths.
2.Compile with: nmake -f Makefile.win
3.Install the ModSecurity module with: nmake -f Makefile.win install
4. Copy the libxml2.dll and lua5.1.dll to the Apache bin directory.
This extremely vague is pretty useless - where does one find makefile.win? What are you actually supposed to put in it? This is perhaps the missing part, but I can't find anything at all about this detail anywhere. Someone please help me out here.. I've literally been losing sleep over trying to get this damn thing to load and run so that we can better protect our server. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Sun 22 Feb '09 11:11 Post subject: |
|
|
Please follow the steps in the Readme.txt in the .zip from the Apache Lounge.
Steffen |
|
Back to top |
|
Envomni
Joined: 22 Feb 2009 Posts: 4
|
Posted: Tue 24 Feb '09 0:30 Post subject: |
|
|
Well, I can't begin to guess what the issue was, but I gave up on trying to fix this in a piece by piece review, and removed everything, and restarted. Removed mod_security2, redist 2008, lua, libxml2, all of it. Deleted all the downloaded zips too. Re-downloaded everything, re-installed everything, and this time it worked. Just running into false positive issues now - will post as a different thread, thanks. |
|
Back to top |
|
|
|
|
|
|