ReJeCtAll / naxsi

Automatically exported from code.google.com/p/naxsi
Other
0 stars 0 forks source link

unknown directive "MainRule" #13

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.when I reload the nginx , there are some error informations
2.
3.

What is the expected output? What do you see instead?
1、nginx: [emerg] unknown directive "MainRule" in 
/etc/nginx/naxsi_core.rules:13
2、nginx: [emerg] unknown directive "LearningMode" in /etc/nginx/web.rules:1
What version of the product are you using? On what operating system?
centos 5.5

Please provide any additional information below.

Original issue reported on code.google.com by leehe...@gmail.com on 24 Nov 2011 at 2:38

GoogleCodeExporter commented 8 years ago
Hello,

Are you sure you compiled nginx with naxsi module ? It seems that either you 
didn't, or you included naxsi's directives in the wrong place. Could you 
provide me your nginx/naxsi configuration file, as well as nginx -V output ?

1、nginx: [emerg] unknown directive "MainRule" in 
/etc/nginx/naxsi_core.rules:13

This means that you didn't compiled nginx with naxsi :)

Original comment by ori...@gmail.com on 30 Nov 2011 at 2:08

GoogleCodeExporter commented 8 years ago
No reply, user issue.

Original comment by ori...@gmail.com on 16 Dec 2011 at 11:24