Welcome! Log In Create A New Profile

Advanced

Re: why "if" can not be used within "if"?

July 24, 2009 06:51AM
On Fri, Jul 24, 2009 at 05:06:57AM -0400, climbor wrote:

> Hello everyone,
>
> I just noticed that "If" can only be used in very limited situations. It is far from the first impression it gave to me. So I did some code reading and found the reason. After adding NGX_HTTP_LIF_CONF flag to ngx_command_t "if", it worked. Then I can write some more complex rule set.
>
> But I just wandering whether this could bring any consequence -- such as make nginx unstable or bring performance penalty?
>
> Any clue will be appreciated.

Currently "if" is ugly hack.


--
Igor Sysoev
http://sysoev.ru/en/
Subject Author Posted

why "if" can not be used within "if"?

climbor July 24, 2009 05:06AM

Re: why "if" can not be used within "if"?

Igor Sysoev July 24, 2009 06:51AM

Re: why "if" can not be used within "if"?

merlin corey July 25, 2009 07:50AM

Re: why "if" can not be used within "if"?

climbor July 26, 2009 10:57PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 311
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