unknown directive "MainRule" #13
Comments
From ori...@gmail.com on November 30, 2011 06:08:20 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 :) |
From ori...@gmail.com on December 16, 2011 03:24:49 No reply, user issue. Status: Invalid |
Hi, I have this problem: │Restarting nginx: nginx: [emerg] unknown directive "MainRule" in /etc/nginx/naxsi_core.rules:13 |
Hi, The only reasonable reason I see would be that nginx is not compiled Cheers, On 21/02/2014 18:41, Eliezer Romero wrote:
|
Firstly......... $ ./configure --add-module=/usr/local/Cellar/nginx_tcp_proxy_module ####################################################
Configuration summary
Second.... it seems no error. but when i check the configure info:######################################################### To see,there is no naxsi module.why not ? |
use ModSecurity for Nginx but not Naxis? |
From leehe...@gmail.com on November 24, 2011 03:38:54
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: http://code.google.com/p/naxsi/issues/detail?id=13
The text was updated successfully, but these errors were encountered: