Comments (3)
Hi @samuelzokovich,
thanks for reporting.
First of all, please read about the libmodsecurity3's role here.
As you can see, it's not a webserver's module but it's a library. This means it needs a connector - a webserver module which uses this library and provides functions to the server. There is only one working (open source) connector, for Nginx. Actually, there isn't connector for Apache.
This means you can't use the mentioned configure options, like --with-apr
, --with-apu
and --with-apxs
. This is why your configure
reports these as unrecognized options
- see above in your report.
If you want to use ModSecurity with Apache, you must choose mod_security2 - actually there is no other option.
Regarding to your PCRE2 issue: libmodsecurity3 uses the "old" PCRE (aka PCRE3) library by default. If you want to build it with PCRE2, please pass the --with-pcre2
configure option.
I'm going to close this issue, because it's not a bug. Feel free to ask anything, if you need any help.
from modsecurity.
Hello @airween
Thanks for the clarification.
This might be a very silly question but where do I download the mod_security2 from?
Thanks
from modsecurity.
Thanks for the clarification.
yw,
This might be a very silly question but where do I download the mod_security2 from?
if you are a new member there is no silly question :).
I suggest you to use the releases page:
https://github.com/owasp-modsecurity/ModSecurity/releases/
especially the last version of 2.9.X branch:
https://github.com/owasp-modsecurity/ModSecurity/releases/tag/v2.9.7
from modsecurity.
Related Issues (20)
- [BUG] multiMatch lead to unexpected match HOT 1
- Detect user agent and execute action HOT 1
- Bazel build on Windows HOT 4
- [FEATURE] Add a new `t:removeSQLComments` transformation HOT 2
- Mod3 ./configuration show missing HOT 2
- Discussion about 'hostname' field in log HOT 9
- after scan coreruleset-main.zip by Microsoft defender for business version. HOT 2
- libModSecurity3: all triggered rule IDs sometimes won't be logged with anomaly scoring HOT 3
- Review and document multi-threading support and limitations HOT 4
- Hub f u HOT 1
- He
- The HOT 1
- rx: regex error 'MATCH_LIMIT' for pattern HOT 1
- When used in conjunction with nginx, requests to the root route are always loaded twice. HOT 4
- An error occurred when compiling and installing modsecurity HOT 3
- How do variables work HOT 5
- Query latest release returns a 2.x version rather than a 3.x version HOT 4
- mod_security2 v2.9.8 cannot be compiled with a specific CFLAG HOT 3
- ModSecurity GeoIP Lookup Issue with No Geo Data HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modsecurity.