-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enhancement: increase SecPcreMatchLimit for specific file #3304
Comments
Sorry forgot to mention. I suspect, I can create a files block within the vhost and set the rule for this specific file. |
Please feel free to close this issue if you could solve that. |
Sadly, this is not possible.
|
I will disable modsecurity via exclude rule for this api, the coworker confirmed, he will take responsibility. But could this behavior be changed? https://github.com/owasp-modsecurity/ModSecurity/tree/v2/master Or is this something you do not have control and can not be changed within the module, to tell apache, it is allowed within the vhost? |
I'm not sure if it's possible - @marcstern what do you think? |
It's currently a global setting, but nothing would forbid to set it at the location level, as the value is used in each msc_pregcomp_ex() individually. |
How to do so? |
I mean we could implement a change in the code |
Is there a way to increase the SecPcreMatchLimit for a specific file?
Our Application has an API which receives very large amounts of data and I only want to increase the limit for this API.
The global limit should stay the same.
The text was updated successfully, but these errors were encountered: