Author |
|
urangkayo
Joined: 04 Jul 2006 Posts: 11 Location: Depok - Indonesia
|
Posted: Mon 24 Jul '06 12:59 Post subject: how to make mod_security.so ?? |
|
|
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
|
Posted: Mon 24 Jul '06 14:00 Post subject: |
|
|
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
|
Posted: Mon 24 Jul '06 16:02 Post subject: |
|
|
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
what's wrong my directive?
thanks |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3094 Location: Hilversum, NL, EU
|
Posted: Mon 24 Jul '06 16:10 Post subject: |
|
|
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
|
Posted: Mon 24 Jul '06 16:49 Post subject: |
|
|
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
|
Posted: Mon 24 Jul '06 19:24 Post subject: |
|
|
Code: | LoadModule unique_id_module modules/mod_unique_id.so |
Should be loaded aswel. |
|
Back to top |
|