If statement REGEXP question
Paul
paul at gtcomm.net
Fri Nov 7 23:37:27 MSK 2008
Yes :) That was a typo in the e-mail.. I think I figured it out though..
It seemed to be an issue of what was happening after
the if statement and I needed to put in a break;
Thanks for looking !
Nick Pearson wrote:
> Hi Paul -- looks like there's an extra/unmatched quote (") after the
> dollar sign.
>
> On Thu, Nov 6, 2008 at 11:01 PM, Paul <paul at gtcomm.net
> <mailto:paul at gtcomm.net>> wrote:
>
> How would I do something like
> if ( $host !~* ^(.*domain(1|2|3)abc\.com.*)$" )
> I've tried, doesn't work :/ Nginx 0.6.32
>
> Thanks
>
> --
> GloboTech Communications
> Phone: 1-514-907-0050 x 215
> Toll Free: 1-(888)-GTCOMM1
> Fax: 1-(514)-907-0750
> paul at gtcomm.net <mailto:paul at gtcomm.net>
> http://www.gtcomm.net
>
>
More information about the nginx
mailing list