Skip to content

Building ModSecurity Dynamic Module: Should I use ./configure --with-pcre2 for libmodsecurity and Nginx Connector? #3277

Open
@Danrancan

Description

@Danrancan

I am building the Modsecurity module dynamically against Nginx v1.27.2 Mainline, on Ubuntu 22.04. The Ubuntu 22.04 instructions HERE: say to use the configure flag --with-pcre2.

Are these old Instructions?

  1. Should I be using the --with-pcre2 configure flag when building LibModsecurity v3.0.13 from https://github.com/owasp-modsecurity/ModSecurity ?

  2. Secondly, should I be using the --with-pcre2 configure flag when building Modsecurity v3.0.13 from https://github.com/owasp-modsecurity/ModSecurity ?

  3. Lastly, should I be using the --with-pcre2 configure flag when building the Modsecurity Connector Module v1.0.3 from https://github.com/owasp-modsecurity/ModSecurity-nginx ?

I just want to be sure where and when I should be using the --with-pcre2 flags when attempting to build the module dynamically on Ubunut 22.04.

Thanks for the help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.xRelated to ModSecurity version 3.x

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions