-
Notifications
You must be signed in to change notification settings - Fork 38
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
Incorrect line MainRule rx (regex) #115
Comments
sounds like you are using an old version of naxsi which has whatever patch the distro maintainers implemented to make it compile with pcre. Did you build it from sources? |
Thanks, yes i was using an old version of naxsi, i will try implement a new naxsi version |
Either use the compiled binaries in the release or just use the release For the latest release, please see: https://github.com/wargio/naxsi/releases |
I'm also facing a similar issue. I am using the mentioned release ( I started facing this issue when I tried upgrading from NAXSI 1.4 to 1.6. I already tried using version 1.5 and it's the same error. This is the error that I'm getting nginx: [emerg] Naxsi-Config : Incorrect line BasicRule wl:1310,1311 (naxsi_skeleton.c:723)... in /etc/nginx-conf/global/naxsi-wp-whitelist.rules:155 |
Now it is working properly and you have a new error. From the log, sounds like you have a bad rule in Can you paste here that line? |
These are the rules which are erroring out. |
I would strongly suggest to check those regexes on a website like https://regex101.com/ |
Hi, I’m encountering an error when I try to start Nginx. The error message indicates that there’s an incorrect line in naxsi_core.rules. Could this be a compatibility issue?
Here’s the error message I’m seeing:
I’m currently using Nginx version 1.22.1.
The text was updated successfully, but these errors were encountered: