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 -> Third-party Modules View previous topic :: View next topic
Reply to topic   Topic: mod_security 2.5.0 and 2.1.6 file cannot be found ?
Author
outseeker



Joined: 02 Mar 2008
Posts: 3
Location: Australia baby!

PostPosted: Sun 02 Mar '08 12:39    Post subject: mod_security 2.5.0 and 2.1.6 file cannot be found ? Reply with quote

Hey Steffen, thanks very much for hosting the Win32 binary of mod_security. It's been serving me well (the one dated 2006 release). Just recently I tried to update to the newest version and get the message from Apache 2.2.3 that the file cannot be found. It is in the correct directory (same directory as last working version was), along with all the other stuff the notes mention to install (I notice the new build says you don't need them anymore, but they're there just in case I misunderstood you)

I have tried using both of the new mod_security2.so versions and can't seem to get it to find and load the file.. I've tried both 2.5.0 and 2.1.6 - which am I supposed to be using please? Any help you can offer is majorly appreciated! Smile
Back to top
admin
Site Admin


Joined: 15 Oct 2005
Posts: 702

PostPosted: Sun 02 Mar '08 12:43    Post subject: Reply with quote

Any indication in Windows Event Log or Apache error.log ?

We only tested it on 2.2.8, maybe better you upgrade to it too (just copy the files over, exept the conf folder).

Steffen
Back to top
outseeker



Joined: 02 Mar 2008
Posts: 3
Location: Australia baby!

PostPosted: Sun 02 Mar '08 12:56    Post subject: Reply with quote

hmm well if I run httpd.exe from apache's directory in a dos box, I can see it's output. It says it can't find the file in the directory it is physically located in.. Windows's event log says syntax error in httpd.conf, cannot load same message. I will try copying the files over the top to update to 2.2.8 and post back again. Thanks mate Smile
Back to top
Steffen
Moderator


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

PostPosted: Sun 02 Mar '08 13:07    Post subject: Reply with quote

> syntax error in httpd.conf

No line number in the message ?

Looks like you have a fault in your conf.

Read carefully the readme.txt in the .zip's, starting with 2.5.0 the instruction is a little different.

Steffen
Back to top
outseeker



Joined: 02 Mar 2008
Posts: 3
Location: Australia baby!

PostPosted: Sun 02 Mar '08 13:11    Post subject: ahhh works like a charm! :) Reply with quote

Thanks Steffen, with Apache 2.2.8 it works just fine. I was a touch worried about copying straight over the top, as I don't know the intricacies of Apache really, but I just excluded the conf/ directory and it's all happy! Very Happy The docs do say 2.2.x compatible though, maybe change that for the poor people who happen to have 2.2.3 as I did lol

I'm so glad I asked you- I was almost ripping out my hair as there was no reason I could see why 2.2.3 had stopped working after applying the newest version! Very Happy Many thanks again champ, I hope you get some extra action today Wink

<in reference to that line number, yeah it had one but its on another pc and not convenient for me to quote Wink it was in fact the line saying loadmodule hehe. same with the error message, though it was just saying the exact thing it would say if you had deleted the mod_security2.so file and still tried loading it in your httpd.conf>
Back to top
tdonovan
Moderator


Joined: 17 Dec 2005
Posts: 614
Location: Milford, MA, USA

PostPosted: Sun 02 Mar '08 15:20    Post subject: Reply with quote

I don't still have Apache 2.2.3 installed anywhere, nor do I have the .zip file.

I tried Steffen's mod_security 2.5.0 with Apache 2.2.4 (from Apache Lounge) and I had no problems.

Perhaps the problem is only with Apache versions prior to 2.2.4.

-tom-
Back to top


Reply to topic   Topic: mod_security 2.5.0 and 2.1.6 file cannot be found ? View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules