Maxim Dounin Wrote:
-------------------------------------------------------
> > # Extracts the subdomain to a variable
> > if ($host ~ "^(.*).xxxxxxxx.net") {
> > set $sub $1;
> > set $domain $2;
> > }
>
> You have regexp with one capture, but try to use
> $2.
>
Thanks for your help!
But could you elaborate a bit more? Please. . .
Like I said before, I'm not too familiar with regex.
We tried using $2 with two captures also, but it did not seem to work correctly.
It will give it a try again in the interim, however. Maybe I'll get lucky. . .
Gnexus