ModSecurity icon indicating copy to clipboard operation
ModSecurity copied to clipboard

No way to provide path for modsec-shared-collections and modsec-shared-collections.lock files

Open ashumal opened this issue 9 years ago • 1 comments

I have latest nginx 1.12.0 compiled with modsecurity nginx connector. Libmodsecurity is builded with LMDB support. In case of Modsecuirty is switched On in nginx configuration I see modsec-shared-collections and modsec-shared-collections.lock files located in root folder /. I have found no way to configure path for both files, so I have no choise and should remove LMDB from dependencies of Libmodsecuirty, just remove this package before the compilation of Libmodsecurity.

Please, advise possible fixes, how can I say to my web server move both files to specific location?

Thank you.

ashumal avatar Apr 17 '17 02:04 ashumal

Hi @ashumal,

I would recommend the compilation of the libModSecurity without the LMDB support. You can achieve that using the parameter: --without-lmdb while running the configure script.

zimmerle avatar Apr 17 '17 21:04 zimmerle