multiple conditions in "if" statement?

Sean Allen sean at monkeysnatchbanana.com
Sat Jul 26 03:42:30 MSD 2008


On Jul 24, 2008, at 10:24 PM, Jeffrey 'jf' Lim wrote:

> On Fri, Jul 25, 2008 at 3:24 AM, Sean Allen <sean at monkeysnatchbanana.com 
> > wrote:
>
> On Jul 24, 2008, at 1:22 PM, Eden Li wrote:
>
> Neither `&&` nor `||` are valid in nginx if statements.  This isn't
> ruby.  See http://wiki.codemongers.com/NginxHttpRewriteModule#if for
> more information.
>
> I could have been all excited for a moment.
> && and || in if statements would make my conf files so much easier  
> to maintain.
>
> yeah I got excited. For a while too. Until i tried it :/ So i'm  
> assuming there's no work, or no plan for this atm?
>
i would add it but i havent done any C programming since Be Inc. went  
under in the 90s so I would probably fubar it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080725/73939e20/attachment.html>


More information about the nginx mailing list