Re: Re: Compile nginx 1.4.7 --with-http_rewrite_module Error

2014-05-13 Thread gaop...@richinfo.cn
Think you The problem has been resolved.Because 'if($remote_addr' , 'If' and '(' a space is required between gaop...@richinfo.cn From: Valentin V. Bartenev Date: 2014-05-13 15:15 To: nginx Subject: Re: Compile nginx 1.4.7 --with-http_rewrite_module Erro

Re: Re: Compile nginx 1.4.7 --with-http_rewrite_module Error

2014-05-13 Thread gaop...@richinfo.cn
ngx_http_rewrite_module syntax:if (condition) { ... } default:— context:server, location I use in location', gaop...@richinfo.cn From: Valentin V. Bartenev Date: 2014-05-13 15:15 To: nginx Subject: Re: Compile nginx 1.4.7 --with-http_rewrite_module Error On Tuesday 13 May 2014 13:

Re: Compile nginx 1.4.7 --with-http_rewrite_module Error

2014-05-13 Thread Valentin V. Bartenev
On Tuesday 13 May 2014 13:34:11 gaop...@richinfo.cn wrote: > 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 There is no directive "if($remote_addr"

Re: Re: Compile nginx 1.4.7 --with-http_rewrite_module Error

2014-05-12 Thread gaop...@richinfo.cn
t: Re: Compile nginx 1.4.7 --with-http_rewrite_module Error On Tue, 2014-05-13 at 11:25 +0800, gaop...@richinfo.cn 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:

Re: Compile nginx 1.4.7 --with-http_rewrite_module Error

2014-05-12 Thread Steve Holdoway
On Tue, 2014-05-13 at 11:25 +0800, gaop...@richinfo.cn 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