Compile nginx 1.4.7 --with-http_rewrite_module Error

gaoping at gaoping at
Tue May 13 05:34:11 UTC 2014

Think you
    But If I turn off the words,I have no way is to use  'if' order.An error occurred : [emerg] 14499#0: unknown directive "if($remote_addr" in /usr/local/nginx1/conf/nginx.conf:46

gaoping at
From: Steve Holdoway
Date: 2014-05-13 13:09
To: nginx
Subject: Re: Compile nginx 1.4.7 --with-http_rewrite_module Error
On Tue, 2014-05-13 at 11:25 +0800, gaoping at wrote:
> hi:
>      I compiled nginx1.4.7,add
> to --with-pcre=/root/nginx/pcre-8.34 --with-http_rewrite_module parameter;An error occurred :./configure: error: invalid option "--with-http_rewrite_module" ,Trouble who can talk about what is the problem
It's on by default. You can switch it off with the
--without-http_rewrite_module flag.
Steve Holdoway BSc(Hons) MIITP
Skype: sholdowa
nginx mailing list
nginx at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list