Welcome! Log In Create A New Profile

Advanced

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

gaoping@richinfo.cn
May 13, 2014 03:22AM
ngx_http_rewrite_module
syntax:if (condition) { ... }
default:—
context:server, location
I use in location',



gaoping@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:34:11 gaoping@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" in nginx.

Evidently you have missed a space after the "if" directive.

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Compile nginx 1.4.7 --with-http_rewrite_module Error

gaoping@richinfo.cn May 12, 2014 11:26PM

Re: Compile nginx 1.4.7 --with-http_rewrite_module Error

GreenGecko May 13, 2014 01:10AM

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

gaoping@richinfo.cn May 13, 2014 01:36AM

Re: Compile nginx 1.4.7 --with-http_rewrite_module Error

Valentin V. Bartenev May 13, 2014 03:16AM

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

gaoping@richinfo.cn May 13, 2014 03:22AM

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

gaoping@richinfo.cn May 13, 2014 04:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 214
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready