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: how to make mod_security.so ??
Author
urangkayo



Joined: 04 Jul 2006
Posts: 11
Location: Depok - Indonesia

PostPosted: Mon 24 Jul '06 12:59    Post subject: how to make mod_security.so ?? Reply with quote

hi...

i have success build mod_security2 for windows, but in modsecurtiy folder only have mod_security2.lib, mod_security2.exp, mod_security2.dll.manifest, mod_security2.dll and file with .obj extension.

I can't found mod_security2.so? where is that?

i try to using nmake install from command prompt but i get error
Quote:
makefile(6) : fatal error U1001: syntax error : illegal character '{' in macro
Stop
.

how to make mod_security2.so??

thanks...
Back to top
Jorge



Joined: 12 Mar 2006
Posts: 376
Location: Belgium

PostPosted: Mon 24 Jul '06 14:00    Post subject: Reply with quote

rename mod_security2.dll to mod_security2.so

and it should work... well if the dll build correctly
Back to top
urangkayo



Joined: 04 Jul 2006
Posts: 11
Location: Depok - Indonesia

PostPosted: Mon 24 Jul '06 16:02    Post subject: Reply with quote

Jorge wrote:
rename mod_security2.dll to mod_security2.so

and it should work... well if the dll build correctly


thanks Jorge, i have change this file and Apache start correctly.

but why mod_security directive not work ?

i make like this

Quote:
LoadModule security2_module modules/mod_security2.so

<IfModule mod_security.c>
SecFilterEngine On
SecServerSignature "IIS For Linux"
</IfModule>


but why server signature not change when i look it's still
Quote:
Apache/2.2.2 (Win32) mod_ssl/2.2.2 OpenSSL/0.9.8b PHP/5.1.4 Server at localhost Port 80


not

Quote:
IIS For Linux


what's wrong my directive?

thanks
Back to top
Steffen
Moderator


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

PostPosted: Mon 24 Jul '06 16:10    Post subject: Reply with quote

Check for example with http://web-sniffer.net/

Note:
You sure that you are using mod_security 2 ?
SecFilterEngine On is not a mod_security 2 directive

As I noted 2 is *not* compatible with 1.9.x directives.

Steffen
Back to top
urangkayo



Joined: 04 Jul 2006
Posts: 11
Location: Depok - Indonesia

PostPosted: Mon 24 Jul '06 16:49    Post subject: Reply with quote

Steffen wrote:
Check for example with http://web-sniffer.net/

Note:
You sure that you are using mod_security 2 ?
SecFilterEngine On is not a mod_security 2 directive

As I noted 2 is *not* compatible with 1.9.x directives.

Steffen


thanks Steffen...

I have remove SecFilterEngine On from mod_security directive, and now mod_security working perfectly.

thanks again...
Back to top
Jorge



Joined: 12 Mar 2006
Posts: 376
Location: Belgium

PostPosted: Mon 24 Jul '06 19:24    Post subject: Reply with quote

Code:
LoadModule unique_id_module modules/mod_unique_id.so


Should be loaded aswel.
Back to top


Reply to topic   Topic: how to make mod_security.so ?? View previous topic :: View next topic
Post new topic   Forum Index -> Third-party Modules